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:18:13 +08:00
parent 8f6c8f340a
commit 2f3bf9c309

View File

@@ -0,0 +1,12 @@
use <matrix/m_scaling.scad>;
module test_m_scaling() {
echo("==== test_m_scaling ====");
expected = [[2, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]];
actual = m_scaling([2, 1, 1]);
assert(expected == actual);
}
test_m_scaling();