Cosimo Lupo
|
201b4926c1
|
pens: skip the 'None' point for special quadratic contours without oncurves
Fixes https://github.com/trufont/trufont/issues/595
|
2018-10-11 22:26:10 +01:00 |
|
Cosimo Lupo
|
041f42466b
|
pens_test: add test for special quadratic contour with no on-curves
|
2018-10-11 18:36:52 +01:00 |
|
Cosimo Lupo
|
4247b30dde
|
revert to using division instead of multiplication, fixes 1-unit diffs after v1.6
Fixes #155
|
2018-10-09 11:32:53 +01:00 |
|
Cosimo Lupo
|
a807ab2b93
|
tests: use math.isclose to compare float coordinates
using the default tolerance which is 1e-9, i.e. assures that two floats are the same
within about 9 decimal digits
https://docs.python.org/3/library/math.html#math.isclose
|
2018-09-26 12:13:39 +01:00 |
|
Cosimo Lupo
|
7dbe476f64
|
pens_test.py: fix test failure with latest defcon
somehow the segmentType of the first move point of a contour is a unicode string now, and the test was comparing the repr...
|
2018-09-05 19:20:37 +01:00 |
|
Cosimo Lupo
|
3125f071c7
|
pens_test: capture deprecation warning
|
2017-10-31 18:18:59 +00:00 |
|
Cosimo Lupo
|
9be3901795
|
move Lib/cu2qu/test to tests/ folder
There is no need to install the test suite with the package.
Let's put it outside like it's recommended by pytest.
|
2017-10-31 12:58:09 +00:00 |
|