mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 18:24:28 +02:00
update doc
This commit is contained in:
@@ -24,13 +24,3 @@ Eliminating duplicate copies of repeating vectors.
|
||||
dedup([[1, 1, 2], [3, 4, 2], [7, 2, 2], [3, 4, 2], [1, 2, 3]], eq = eq)
|
||||
== [[1, 1, 2], [3, 4, 2], [7, 2, 2], [1, 2, 3]]
|
||||
);
|
||||
|
||||
sorted = sort([[1, 1, 2], [3, 4, 2], [7, 2, 2], [3, 4, 2], [1, 2, 3]]);
|
||||
|
||||
assert(
|
||||
dedup(sorted, sorted = true) == [[1, 1, 2], [1, 2, 3], [3, 4, 2], [7, 2, 2]]
|
||||
);
|
||||
|
||||
assert(
|
||||
dedup(sorted, sorted = true, eq = eq) == [[1, 1, 2], [1, 2, 3], [3, 4, 2], [7, 2, 2]]
|
||||
);
|
Reference in New Issue
Block a user