Fri, 18 Sep 2020 21:47:01 +0300
added alias tests
unittests/alias-bad.test | file | annotate | diff | comparison | revisions | |
unittests/alias-ok.test | file | annotate | diff | comparison | revisions |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/unittests/alias-bad.test Fri Sep 18 21:47:01 2020 +0300 @@ -0,0 +1,11 @@ +0 Testing: alias-bad-colour alias-not-prefixed-with-equals alias-with-polygon +0 Expecting: alias-bad-colour:8 alias-not-prefixed-with-equals:1 alias-with-polygon:9 +0 Test part +0 Name: 1234.dat +0 Author: Me +0 !LDRAW_ORG Unofficial_Part Alias +0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt + +0 // Alias of 2345 +1 4 0 0 0 1 0 0 0 1 0 0 0 1 2345.dat +3 16 0 0 0 1 0 0 1 0 1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/unittests/alias-ok.test Fri Sep 18 21:47:01 2020 +0300 @@ -0,0 +1,10 @@ +0 Testing: alias-bad-colour alias-not-prefixed-with-equals alias-with-polygon +0 Expecting: none +0 =Test part +0 Name: 1234.dat +0 Author: Me +0 !LDRAW_ORG Unofficial_Part Alias +0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt + +0 // Alias of 2345 +1 16 0 0 0 1 0 0 0 1 0 0 0 1 2345.dat