1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-22 06:13:10 +02:00

refactor unittest

This commit is contained in:
Justin Lin
2020-01-26 16:26:19 +08:00
parent e1774765de
commit b7ad7ea46e
20 changed files with 64 additions and 69 deletions

View File

@@ -1,9 +1,9 @@
include <unittest.scad>;
include <util/sub_str.scad>;
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));
}