1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-26 07:55:16 +02:00

minimum b_numbers is 16

This commit is contained in:
Justin Lin
2021-03-05 22:52:38 +08:00
parent 2a5f39d4c2
commit 4ba7a2ee73
2 changed files with 5 additions and 6 deletions

View File

@@ -9,15 +9,14 @@ module test_hashset() {
echo("==== test_hashset ====");
s = hashset([1, 2, 3, 4, 5, 2, 3, 5]);
assert(hashset_list(s) == [3, 1, 4, 2, 5]);
assert(hashset_list(s) == [1, 2, 3, 4, 5]);
s2 = hashset_add(s, 9);
assert(hashset_list(s2) == [3, 9, 1, 4, 2, 5]);
assert(hashset_list(s2) == [1, 2, 3, 4, 5, 9]);
assert(!hashset_has(s2, 13));
assert(hashset_list(hashset_del(s2, 2)) == [3, 9, 1, 4, 5]);
assert(hashset_list(hashset_del(s2, 2)) == [1, 3, 4, 5, 9]);
}
test_hashset();