mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-22 22:35:18 +02:00
refactor
This commit is contained in:
@@ -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();
|
Reference in New Issue
Block a user