From 8f6c8f340a46197e8fa74dfd749d448f690bb9af Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 10 Mar 2022 20:16:40 +0800 Subject: [PATCH] refactor --- test/matrix/test_m_translation.scad | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/matrix/test_m_translation.scad b/test/matrix/test_m_translation.scad index 9751b54b..97490ae3 100644 --- a/test/matrix/test_m_translation.scad +++ b/test/matrix/test_m_translation.scad @@ -1,4 +1,3 @@ -use ; use ; module test_m_translation() { @@ -7,7 +6,7 @@ module test_m_translation() { expected = [[1, 0, 0, 10], [0, 1, 0, 20], [0, 0, 1, 0], [0, 0, 0, 1]]; actual = m_translation([10, 20, 0]); - assertEqualPoints(expected, actual); + assert(expected == actual); } test_m_translation(); \ No newline at end of file