From 1763c51a35246b5074db28dbfe2310bab5d66409 Mon Sep 17 00:00:00 2001 From: Adrian Mariano <avm4@cornell.edu> Date: Mon, 6 Sep 2021 18:38:00 -0400 Subject: [PATCH] fix tests --- tests/test_affine.scad | 6 ------ tests/test_transforms.scad | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/test_affine.scad b/tests/test_affine.scad index 3ccd697..15d6877 100644 --- a/tests/test_affine.scad +++ b/tests/test_affine.scad @@ -216,12 +216,6 @@ test_affine3d_skew_yz(); //////////////////////////// -module test_affine3d_frame_map() { - assert(approx(affine3d_frame_map(x=[1,1,0], y=[-1,1,0]), affine3d_zrot(45))); -} -test_affine3d_frame_map(); - - module test_apply() { assert(approx(apply(affine3d_xrot(90),2*UP),2*FRONT)); assert(approx(apply(affine3d_yrot(90),2*UP),2*RIGHT)); diff --git a/tests/test_transforms.scad b/tests/test_transforms.scad index 21f0ae4..a7e9cb8 100644 --- a/tests/test_transforms.scad +++ b/tests/test_transforms.scad @@ -462,6 +462,11 @@ module test_xyzrot() { } test_xyzrot(); +module test_frame_map() { + assert(approx(frame_map(x=[1,1,0], y=[-1,1,0]), affine3d_zrot(45))); +} +test_frame_map(); + module test_skew() { m = affine3d_skew(sxy=2, sxz=3, syx=4, syz=5, szx=6, szy=7);