mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-03 21:37:39 +02:00
change dir
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
* @copyright Justin Lin, 2017
|
* @copyright Justin Lin, 2017
|
||||||
* @license https://opensource.org/licenses/lgpl-3.0.html
|
* @license https://opensource.org/licenses/lgpl-3.0.html
|
||||||
*
|
*
|
||||||
* @see https://openhome.cc/eGossip/OpenSCAD/lib-split_str.html
|
* @see https://openhome.cc/eGossip/OpenSCAD/lib2-split_str.html
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
@@ -21,7 +21,6 @@ include <test_along_with.scad>;
|
|||||||
|
|
||||||
// Function
|
// Function
|
||||||
include <test_rotate_p.scad>;
|
include <test_rotate_p.scad>;
|
||||||
include <test_split_str.scad>;
|
|
||||||
include <test_parse_number.scad>;
|
include <test_parse_number.scad>;
|
||||||
include <test_cross_sections.scad>;
|
include <test_cross_sections.scad>;
|
||||||
include <test_paths2sections.scad>;
|
include <test_paths2sections.scad>;
|
||||||
@@ -67,6 +66,7 @@ include <test_path_extrude.scad>;
|
|||||||
|
|
||||||
// Utilities
|
// Utilities
|
||||||
include <util/test_sub_str.scad>;
|
include <util/test_sub_str.scad>;
|
||||||
|
include <util/test_split_str.scad>;
|
||||||
|
|
||||||
// Pixel
|
// Pixel
|
||||||
include <pixel/test_px_line.scad>;
|
include <pixel/test_px_line.scad>;
|
||||||
|
@@ -3,7 +3,7 @@ module test_parse_number() {
|
|||||||
|
|
||||||
include <unittest.scad>;
|
include <unittest.scad>;
|
||||||
include <util/sub_str.scad>;
|
include <util/sub_str.scad>;
|
||||||
include <split_str.scad>;
|
include <util/split_str.scad>;
|
||||||
include <parse_number.scad>;
|
include <parse_number.scad>;
|
||||||
|
|
||||||
assertEqualNum(11, parse_number("10") + 1);
|
assertEqualNum(11, parse_number("10") + 1);
|
||||||
|
@@ -3,7 +3,7 @@ module test_split_str() {
|
|||||||
|
|
||||||
include <unittest.scad>;
|
include <unittest.scad>;
|
||||||
include <util/sub_str.scad>;
|
include <util/sub_str.scad>;
|
||||||
include <split_str.scad>;
|
include <util/split_str.scad>;
|
||||||
|
|
||||||
assert(["hello", "world","abc", "xyz"] == split_str("hello,world,abc,xyz", ","));
|
assert(["hello", "world","abc", "xyz"] == split_str("hello,world,abc,xyz", ","));
|
||||||
}
|
}
|
Reference in New Issue
Block a user