mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 14:18:13 +01:00
12 lines
255 B
OpenSCAD
12 lines
255 B
OpenSCAD
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(); |