1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
dotSCAD/test/util/test_sub_str.scad

10 lines
210 B
OpenSCAD
Raw Normal View History

2022-06-06 13:11:46 +08:00
use <util/sub_str.scad>
2020-01-26 16:26:19 +08:00
module test_sub_str() {
echo("==== test_sub_str ====");
2017-06-22 15:10:25 +08:00
2019-06-11 14:32:21 +08:00
assert("hello" == sub_str("helloworld", 0, 5));
assert("world" == sub_str("helloworld", 5));
}
test_sub_str();