summaryrefslogtreecommitdiff
path: root/crates/alloc_buddy/tests/hosted_test.rs
diff options
context:
space:
mode:
authorNathan Ringo <nathan@remexre.com>2024-09-01 14:15:07 -0500
committerNathan Ringo <nathan@remexre.com>2024-09-01 14:15:07 -0500
commitdb8181101d52da0d138b7109f4aac2ff722e288a (patch)
tree2e7c06e541652cf1ef960de408c065fdb5994614 /crates/alloc_buddy/tests/hosted_test.rs
parentbdc5f0702a85fa2b8c84c12a78afee95915be4ab (diff)
Implement size class splitting.
Diffstat (limited to 'crates/alloc_buddy/tests/hosted_test.rs')
-rw-r--r--crates/alloc_buddy/tests/hosted_test.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/alloc_buddy/tests/hosted_test.rs b/crates/alloc_buddy/tests/hosted_test.rs
index 1afe263..d515f6e 100644
--- a/crates/alloc_buddy/tests/hosted_test.rs
+++ b/crates/alloc_buddy/tests/hosted_test.rs
@@ -20,7 +20,7 @@ proptest! {
#[test]
fn test_simple_scenario() {
let scenario = Scenario {
- range_sizes: vec![7],
+ range_sizes: vec![10],
actions: vec![
Action::Debug,
Action::Alloc {
@@ -28,6 +28,7 @@ fn test_simple_scenario() {
size_class: 0,
},
Action::Debug,
+ Action::Dealloc { index: 0 },
],
};
scenario.run(false)