mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-26 16:04:46 +02:00
change dir
This commit is contained in:
11
test/util/test_sub_str.scad
Normal file
11
test/util/test_sub_str.scad
Normal 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();
|
Reference in New Issue
Block a user