1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 09:14:29 +02:00

updated testcase

This commit is contained in:
Justin Lin
2017-05-26 10:22:23 +08:00
parent 35d4c4e8bd
commit ea8ca50e2a

View File

@@ -1,14 +1,14 @@
include <unittest.scad>;
module test_line2d_cap_square() {
echo("==== test_line2d_cap_square ====");
module test_line2d() {
$fn = 24;
p1 = [0, 0];
p2 = [5, 0];
width = 1;
module test_line2d_cap_square() {
echo("==== test_line2d_cap_square ====");
include <line2d.scad>;
module cap(point, style) {
@@ -31,12 +31,6 @@ module test_line2d_cap_square() {
module test_line2d_cap_round() {
echo("==== test_line2d_cap_round ====");
$fn = 24;
p1 = [0, 0];
p2 = [5, 0];
width = 1;
include <line2d.scad>;
module cap(point, style) {
@@ -60,12 +54,6 @@ module test_line2d_cap_round() {
module test_line2d_cap_butt() {
echo("==== test_line2d_cap_butt ====");
$fn = 24;
p1 = [0, 0];
p2 = [5, 0];
width = 1;
include <line2d.scad>;
module cap(point, style) {
@@ -89,3 +77,7 @@ module test_line2d_cap_butt() {
test_line2d_cap_square();
test_line2d_cap_round();
test_line2d_cap_butt();
}
test_line2d();