1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-18 06:38:14 +01:00
dotSCAD/test/util/test_split_str.scad
2019-06-23 10:04:18 +08:00

11 lines
271 B
OpenSCAD

module test_split_str() {
echo("==== test_split_str ====");
include <unittest.scad>;
include <util/sub_str.scad>;
include <util/split_str.scad>;
assert(["hello", "world","abc", "xyz"] == split_str("hello,world,abc,xyz", ","));
}
test_split_str();