mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-12 17:54:18 +02:00
solving namespace problem
This commit is contained in:
@@ -27,8 +27,6 @@ include <test_split_str.scad>;
|
||||
include <test_parse_number.scad>;
|
||||
include <test_cross_sections.scad>;
|
||||
|
||||
// Path
|
||||
include <test_circle_path.scad>;
|
||||
|
||||
// 2D Shape
|
||||
include <test_shape_arc.scad>;
|
||||
|
@@ -1,3 +1,4 @@
|
||||
module test_circle_path() {
|
||||
echo("==== test_circle_path ====");
|
||||
|
||||
include <unittest.scad>;
|
||||
@@ -6,7 +7,9 @@ include <circle_path.scad>;
|
||||
$fn = 24;
|
||||
|
||||
expected = [[50, 0], [48.2963, 12.941], [43.3013, 25], [35.3553, 35.3553], [25, 43.3013], [12.941, 48.2963], [0, 50], [-12.941, 48.2963], [-25, 43.3013], [-35.3553, 35.3553], [-43.3013, 25], [-48.2963, 12.941], [-50, 0], [-48.2963, -12.941], [-43.3013, -25], [-35.3553, -35.3553], [-25, -43.3013], [-12.941, -48.2963], [0, -50], [12.941, -48.2963], [25, -43.3013], [35.3553, -35.3553], [43.3013, -25], [48.2963, -12.941]];
|
||||
|
||||
actual = circle_path(radius = 50);
|
||||
|
||||
assertEqualPoints(expected, actual);
|
||||
}
|
||||
|
||||
test_circle_path();
|
Reference in New Issue
Block a user