mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-09 08:16:50 +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-sub_str.html
|
* @see https://openhome.cc/eGossip/OpenSCAD/lib2-sub_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_sub_str.scad>;
|
|
||||||
include <test_split_str.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>;
|
||||||
@@ -66,6 +65,9 @@ include <test_archimedean_spiral_extrude.scad>;
|
|||||||
include <test_sphere_spiral_extrude.scad>;
|
include <test_sphere_spiral_extrude.scad>;
|
||||||
include <test_path_extrude.scad>;
|
include <test_path_extrude.scad>;
|
||||||
|
|
||||||
|
// Utilities
|
||||||
|
include <util/test_sub_str.scad>;
|
||||||
|
|
||||||
// Pixel
|
// Pixel
|
||||||
include <pixel/test_px_line.scad>;
|
include <pixel/test_px_line.scad>;
|
||||||
include <pixel/test_px_polyline.scad>;
|
include <pixel/test_px_polyline.scad>;
|
||||||
|
@@ -2,7 +2,7 @@ module test_parse_number() {
|
|||||||
echo("==== test_parse_number ====");
|
echo("==== test_parse_number ====");
|
||||||
|
|
||||||
include <unittest.scad>;
|
include <unittest.scad>;
|
||||||
include <sub_str.scad>;
|
include <util/sub_str.scad>;
|
||||||
include <split_str.scad>;
|
include <split_str.scad>;
|
||||||
include <parse_number.scad>;
|
include <parse_number.scad>;
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@ module test_split_str() {
|
|||||||
echo("==== test_split_str ====");
|
echo("==== test_split_str ====");
|
||||||
|
|
||||||
include <unittest.scad>;
|
include <unittest.scad>;
|
||||||
include <sub_str.scad>;
|
include <util/sub_str.scad>;
|
||||||
include <split_str.scad>;
|
include <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", ","));
|
||||||
|
@@ -2,7 +2,7 @@ module test_sub_str() {
|
|||||||
echo("==== test_sub_str ====");
|
echo("==== test_sub_str ====");
|
||||||
|
|
||||||
include <unittest.scad>;
|
include <unittest.scad>;
|
||||||
include <sub_str.scad>;
|
include <util/sub_str.scad>;
|
||||||
|
|
||||||
assert("hello" == sub_str("helloworld", 0, 5));
|
assert("hello" == sub_str("helloworld", 0, 5));
|
||||||
assert("world" == sub_str("helloworld", 5));
|
assert("world" == sub_str("helloworld", 5));
|
Reference in New Issue
Block a user