1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 10:14:41 +02:00

updated testcase

This commit is contained in:
Justin Lin
2017-05-26 08:51:32 +08:00
parent e93c9f7f92
commit d6b69ac5f3

View File

@@ -4,7 +4,7 @@ include <shape_trapezium.scad>;
module test_shape_trapezium() {
echo("==== test_shape_trapezium ====");
expected = [[16.7639, -10], [18.4469, -9.0806], [18.5825, -7.1677], [18.5528, -7.10557], [10.5528, 8.89443], [8.97782, 9.98853], [8.76393, 10], [-8.76393, 10], [-8.97782, 9.98853], [-10.5528, 8.89443], [-18.5528, -7.10557], [-18.5825, -7.1677], [-18.4469, -9.0806], [-16.7639, -10]];
expected = [[16.7639, -10], [18.4469, -9.0806], [18.5825, -7.1677], [18.5528, -7.1056], [10.5528, 8.8944], [8.9778, 9.9885], [8.7639, 10], [-8.7639, 10], [-8.9778, 9.9885], [-10.5528, 8.8944], [-18.5528, -7.1056], [-18.5825, -7.1677], [-18.4469, -9.0806], [-16.7639, -10]];
actual = shape_trapezium(
[40, 20],