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