From d1c675d1131d58cd24600a4f02e7bd9b8f13f9ca Mon Sep 17 00:00:00 2001 From: Eero af Heurlin Date: Fri, 27 Aug 2010 18:07:20 +0300 Subject: [PATCH] use correct naming for test modules --- triangles.scad | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/triangles.scad b/triangles.scad index 0b47efc..8a21930 100644 --- a/triangles.scad +++ b/triangles.scad @@ -37,7 +37,11 @@ module a_triangle(tan_angle, a_len, depth) } } -module triangles_test() + +// Tests: +module test_triangle() { triangle(5, 5, 5); } +module test_a_triangle() { a_triangle(45, 5, 5); } +module test_triangles() { // Generate a bunch of triangles by sizes for (i = [1:10]) @@ -46,7 +50,6 @@ module triangles_test() { triangle(i*5, sqrt(i*5+pow(i,2)), 5); } - } // Generate a bunch of triangles by angle @@ -58,5 +61,3 @@ module triangles_test() } } } - -// triangles_test();