summaryrefslogtreecommitdiff
path: root/app/bin/unittest
diff options
context:
space:
mode:
Diffstat (limited to 'app/bin/unittest')
-rw-r--r--app/bin/unittest/CMakeLists.txt1
-rw-r--r--app/bin/unittest/testfiles/HO-Peco-Code83.xtp6
2 files changed, 5 insertions, 2 deletions
diff --git a/app/bin/unittest/CMakeLists.txt b/app/bin/unittest/CMakeLists.txt
index 7055d0b..d4e237f 100644
--- a/app/bin/unittest/CMakeLists.txt
+++ b/app/bin/unittest/CMakeLists.txt
@@ -56,6 +56,7 @@ add_executable(catalogtest
catalogtest.c
../partcatalog.c
../paths.c
+ ../stringxtc.c
)
target_link_libraries(catalogtest
diff --git a/app/bin/unittest/testfiles/HO-Peco-Code83.xtp b/app/bin/unittest/testfiles/HO-Peco-Code83.xtp
index 09bf426..681e6f5 100644
--- a/app/bin/unittest/testfiles/HO-Peco-Code83.xtp
+++ b/app/bin/unittest/testfiles/HO-Peco-Code83.xtp
@@ -130,8 +130,10 @@ END
SUBCONTENTS Peco Code 83 HO Slip Turnouts
TURNOUT HO "Peco Code 83 #6 Double Slip Switch SL-U8363"
- P "Normal" 1 2 3 0 4 5 6
- P "Reverse" 1 7 6 0 4 8 3
+ P "Cross1" 1 2 3
+ P "Cross2" 4 5 6
+ P "Slip1" 1 7 6
+ P "Slip2" 4 8 3
E 0.000000 0.000000 270.000000
E 12.035433 0.000000 90.000000
E 0.082528 0.993201 279.500000