mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-09-01 02:33:00 +02:00
add test
This commit is contained in:
9
test/util/test_lerp.scad
Normal file
9
test/util/test_lerp.scad
Normal file
@@ -0,0 +1,9 @@
|
||||
use <util/lerp.scad>;
|
||||
|
||||
module test_lerp() {
|
||||
echo("==== test_lerp ====");
|
||||
|
||||
assert(lerp([0, 0, 0], [100, 100, 100], 0.5) == [50, 50, 50]);
|
||||
}
|
||||
|
||||
test_lerp();
|
Reference in New Issue
Block a user