1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +01:00
dotSCAD/test/util/test_sub_str.scad
2020-01-26 16:32:02 +08:00

11 lines
232 B
OpenSCAD

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