1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-25 23:46:32 +02:00

re-calculate b_numbers

This commit is contained in:
Justin Lin
2021-03-05 08:20:58 +08:00
parent 710a4a2252
commit 1d770479ce
2 changed files with 8 additions and 7 deletions

View File

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