Extend test cases

Add tests for:
- packed neighboring variables
- separated neighboring variables
- mixed types of neighboring variables
This commit is contained in:
MrDmitry
2024-01-21 03:18:37 -05:00
parent 2dfec13ef0
commit e72f1d5ae7
2 changed files with 106 additions and 2 deletions

View File

@@ -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}

View File

@@ -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