1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-26 16:04:46 +02:00

change dir

This commit is contained in:
Justin Lin
2019-06-23 10:00:40 +08:00
parent c8e1244651
commit 2d9562c8b6
5 changed files with 7 additions and 5 deletions

View File

@@ -0,0 +1,11 @@
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();