1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-14 02:34:12 +02:00
This commit is contained in:
Justin Lin
2022-03-10 20:16:40 +08:00
parent e36fd9bd46
commit 8f6c8f340a

View File

@@ -1,4 +1,3 @@
use <unittest.scad>;
use <matrix/m_translation.scad>;
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();