mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-07-31 12:00:23 +02:00
11 lines
248 B
OpenSCAD
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(); |