BOSL2/tests/test_cubetruss.scad

15 lines
393 B
OpenSCAD
Raw Normal View History

2020-07-22 00:05:21 +00:00
include <../std.scad>
include <../cubetruss.scad>
2019-11-09 01:34:01 +00:00
module test_cubetruss_dist() {
assert(cubetruss_dist(5,1,size=30,strut=3) == 138);
assert(cubetruss_dist(3,2,size=30,strut=3) == 87);
assert(cubetruss_dist(5,1,size=20,strut=2) == 92);
assert(cubetruss_dist(3,2,size=20,strut=2) == 58);
2019-11-09 01:34:01 +00:00
}
test_cubetruss_dist();
// vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap