mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-22 06:13:10 +02:00
refactor unittest
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user