unittests/skew.test

Fri, 18 Sep 2020 23:51:45 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 18 Sep 2020 23:51:45 +0300
changeset 145
fde18c4d6784
parent 144
eb4c767522ac
permissions
-rw-r--r--

refactoring: moved context-dependant data to new class LDrawContext. ldcheck no longer writes the config file, and looks for it in sensible locations like ~/.config and /etc. LDraw libraries can now be specified on the command line.

0 Testing: skew-major skew-minor
0 Expecting: skew-major:1 skew-major:3 skew-minor:5
4 16 25 0 -5 25 0 -15 35 0 -15 35 5 -5
4 16 25 0 -5 25 0 -15 35 0 -15 35 0 -5
4 16 40 0 -5 40 0 -15 50 5 -15 50 0 -5
4 16 40 0 -5 40 0 -15 50 0 -15 50 0 -5
4 16 0 0 0 100 0 0 100 0 100 0 5 100
4 16 0 0 0 100 0 0 100 0 100 0 0 100

mercurial