1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-07-31 12:00:23 +02:00
Files
dotSCAD/test/util/test_sub_str.scad
Justin Lin 2d9562c8b6 change dir
2019-06-23 10:00:40 +08:00

11 lines
248 B
OpenSCAD

module test_sub_str() {
echo("==== test_sub_str ====");
include <unittest.scad>;
include <util/sub_str.scad>;
assert("hello" == sub_str("helloworld", 0, 5));
assert("world" == sub_str("helloworld", 5));
}
test_sub_str();