diff --git a/tests/test_cubetruss.scad b/tests/test_cubetruss.scad new file mode 100644 index 0000000..fe5095b --- /dev/null +++ b/tests/test_cubetruss.scad @@ -0,0 +1,14 @@ +include +include + + +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); +} +test_cubetruss_dist(); + + +// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap diff --git a/version.scad b/version.scad index 58491cc..699ac3f 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,18]; +BOSL_VERSION = [2,0,19]; // Section: BOSL Library Version Functions