mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-02-24 17:42:44 +01:00
11 lines
243 B
OpenSCAD
11 lines
243 B
OpenSCAD
module test_sub_str() {
|
|
echo("==== test_sub_str ====");
|
|
|
|
include <unittest.scad>;
|
|
include <sub_str.scad>;
|
|
|
|
assert("hello" == sub_str("helloworld", 0, 5));
|
|
assert("world" == sub_str("helloworld", 5));
|
|
}
|
|
|
|
test_sub_str(); |