# HG changeset patch # User Teemu Piippo # Date 1600454821 -10800 # Node ID 5f5498abef0ceaaae7483dca23de691172897964 # Parent 46cdbd4bbc328dc9b3c8fdf81371f60f367d63af added alias tests diff -r 46cdbd4bbc32 -r 5f5498abef0c unittests/alias-bad.test --- /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 diff -r 46cdbd4bbc32 -r 5f5498abef0c unittests/alias-ok.test --- /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