1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-07-31 03:50:27 +02:00
This commit is contained in:
Justin Lin
2022-03-10 20:13:12 +08:00
parent 7ab33ba03c
commit 2687844621

View File

@@ -0,0 +1,13 @@
use <unittest.scad>;
use <matrix/m_translation.scad>;
module test_m_translation() {
echo("==== 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);
}
test_m_translation();