mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-14 10:44:48 +02:00
refactor
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
use <unittest.scad>;
|
|
||||||
use <matrix/m_translation.scad>;
|
use <matrix/m_translation.scad>;
|
||||||
|
|
||||||
module test_m_translation() {
|
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]];
|
expected = [[1, 0, 0, 10], [0, 1, 0, 20], [0, 0, 1, 0], [0, 0, 0, 1]];
|
||||||
actual = m_translation([10, 20, 0]);
|
actual = m_translation([10, 20, 0]);
|
||||||
|
|
||||||
assertEqualPoints(expected, actual);
|
assert(expected == actual);
|
||||||
}
|
}
|
||||||
|
|
||||||
test_m_translation();
|
test_m_translation();
|
Reference in New Issue
Block a user