1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-04-19 21:51:57 +02:00

refactor testcase

This commit is contained in:
Justin Lin 2020-01-27 16:27:51 +08:00
parent e76c35e9a1
commit 46c485db16

View File

@ -1,14 +1,13 @@
include <unittest.scad>;
use <unittest.scad>;
use <stereographic_extrude.scad>;
module test_stereographic_extrude_rs(outer_sphere_r, inner_sphere_r) {
assertEqualPoint([16.6667, 15.0756], [outer_sphere_r, inner_sphere_r]);
}
module test_stereographic_extrude() {
echo("==== test_stereographic_extrude ====");
include <stereographic_extrude.scad>;
module test_stereographic_extrude_rs(outer_sphere_r, inner_sphere_r) {
assertEqualPoint([16.6667, 15.0756], [outer_sphere_r, inner_sphere_r]);
}
dimension = 100;
stereographic_extrude(shadow_side_leng = dimension)