1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-22 22:35:18 +02:00
This commit is contained in:
Justin Lin
2022-03-17 21:05:29 +08:00
parent 1d1479b531
commit a7ab17c149
23 changed files with 43 additions and 46 deletions

View File

@@ -1,12 +1,9 @@
use <unittest.scad>;
use <util/reverse.scad>;
module test_reverse() {
echo("==== test_reverse ====");
lt = [1, 2, 3, 4, 5];
assert([5, 4, 3, 2, 1] == reverse(lt));
assert([5, 4, 3, 2, 1] == reverse([1, 2, 3, 4, 5]));
}
test_reverse();