Commit e72f1d5ae7

MrDmitry <aidenhaledev@gmail.com>
2024-01-21 09:18:37
Extend test cases
Add tests for: - packed neighboring variables - separated neighboring variables - mixed types of neighboring variables
1 parent 2dfec13
Changed files (2)
test
standalone
test/standalone/cmakedefine/config.h.cmake
@@ -49,12 +49,24 @@
 // no substition
 // @noval@
 
+// no substition
+// @noval@@noval@
+
+// no substition
+// @noval@.@noval@
+
 // 1
 // @trueval@
 
 // 0
 // @falseval@
 
+// 10
+// @trueval@@falseval@
+
+// 0.1
+// @falseval@.@trueval@
+
 // 0
 // @zeroval@
 
@@ -64,21 +76,47 @@
 // 10
 // @tenval@
 
+// 01
+// @zeroval@@oneval@
+
+// 0.10
+// @zeroval@.@tenval@
+
 // test
 // @stringval@
 
+// testtest
+// @stringval@@stringval@
+
+// test.test
+// @stringval@.@stringval@
+
+// test10
+// @noval@@stringval@@trueval@@zeroval@
 
 // ${} substition
 
-// removal
+// no substition
 // ${noval}
 
+// no substition
+// ${noval}${noval}
+
+// no substition
+// ${noval}.${noval}
+
 // 1
 // ${trueval}
 
 // 0
 // ${falseval}
 
+// 10
+// ${trueval}${falseval}
+
+// 0.1
+// ${falseval}.${trueval}
+
 // 0
 // ${zeroval}
 
@@ -88,6 +126,20 @@
 // 10
 // ${tenval}
 
+// 01
+// ${zeroval}${oneval}
+
+// 0.10
+// ${zeroval}.${tenval}
+
 // test
 // ${stringval}
 
+// testtest
+// ${stringval}${stringval}
+
+// test.test
+// ${stringval}.${stringval}
+
+// test10
+// ${noval}${stringval}${trueval}${zeroval}
test/standalone/cmakedefine/expected.h
@@ -49,12 +49,24 @@
 // no substition
 // 
 
+// no substition
+// 
+
+// no substition
+// .
+
 // 1
 // 1
 
 // 0
 // 0
 
+// 10
+// 10
+
+// 0.1
+// 0.1
+
 // 0
 // 0
 
@@ -64,21 +76,47 @@
 // 10
 // 10
 
+// 01
+// 01
+
+// 0.10
+// 0.10
+
 // test
 // test
 
+// testtest
+// testtest
+
+// test.test
+// test.test
+
+// test10
+// test10
 
 //  substition
 
-// removal
+// no substition
 // 
 
+// no substition
+// 
+
+// no substition
+// .
+
 // 1
 // 1
 
 // 0
 // 0
 
+// 10
+// 10
+
+// 0.1
+// 0.1
+
 // 0
 // 0
 
@@ -88,6 +126,20 @@
 // 10
 // 10
 
+// 01
+// 01
+
+// 0.10
+// 0.10
+
 // test
 // test
 
+// testtest
+// testtest
+
+// test.test
+// test.test
+
+// test10
+// test10