1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-24 21:41:33 +02:00
Files
dotSCAD/test/util/test_lerp.scad
Justin Lin 3f6211d8a6 add test
2022-04-13 09:10:25 +08:00

10 lines
167 B
OpenSCAD

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();