1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-24 21:41:33 +02:00
Files
dotSCAD/test/test_sub_str.scad
2017-06-22 18:17:02 +08:00

11 lines
249 B
OpenSCAD

module test_sub_str() {
echo("==== test_sub_str ====");
include <unittest.scad>;
include <sub_str.scad>;
assertEqual("hello", sub_str("helloworld", 0, 5));
assertEqual("world", sub_str("helloworld", 5));
}
test_sub_str();