Jürg Lehni
|
4c84c3dad5
|
Tests: Start getting QUnit tests to work on Node.js
Work in progress…
|
2016-01-31 12:43:20 +01:00 |
|
Jürg Lehni
|
0b991cefdd
|
Only mark an image as loaded if it actually has src set and is complete.
|
2016-01-27 10:45:39 +01:00 |
|
Jürg Lehni
|
a7a07fb6d5
|
Update JSDoc and do some documentation spring-cleaning.
- Convert from {@code ...} to shorter `...`
- Reformat some documentation comment blocks
- Update copyright notices
|
2015-12-30 21:55:19 +01:00 |
|
Jürg Lehni
|
4ad8875a8c
|
Install qunitjs module as a NPM dev dependency.
|
2015-07-27 12:25:45 +02:00 |
|
Jürg Lehni
|
5f42020869
|
Increase tolerances in #getAverageColor() tests.
The phantomjs canvas appear to produce less precise results.
|
2015-07-27 10:03:11 +02:00 |
|
Jürg Lehni
|
c5a2a51f3e
|
Implement unit test comparator for Color and improve new comparator code.
|
2014-12-28 15:21:38 +01:00 |
|
Jürg Lehni
|
e95e17826e
|
Start cleaning up unit tests by introducing new class/type-based comparators lookup table.
|
2014-12-28 14:33:22 +01:00 |
|
Jürg Lehni
|
48cb05a181
|
Replace tabs with 4 white-spaces.
|
2014-08-16 19:24:54 +02:00 |
|
Jürg Lehni
|
a1c74b8fd3
|
Explicitly state raster resolution in unit tests.
Since #rasterize() uses the HiDPI resolution if present now.
|
2014-03-18 11:20:50 +01:00 |
|
Jürg Lehni
|
e22fa3a664
|
Update copyright notice.
|
2014-01-04 01:47:16 +01:00 |
|
Jürg Lehni
|
cc565b3fe2
|
Rename Raster#getSubImage() to #getSubCanvas(), and use insert: false combined with #insertAbove() to correctly insert newly created rasters.
|
2013-08-14 12:21:47 -07:00 |
|
Jürg Lehni
|
d1c6b7134f
|
Fix Raster#getAverageColor() to work with new transforms history code.
|
2013-04-18 16:50:18 -07:00 |
|
Jürg Lehni
|
495eef2ee4
|
Fix issue with precision and PathItem#getAverageColor() tests.
|
2013-04-09 08:40:41 -07:00 |
|
Jürg Lehni
|
e7c6bf3d9b
|
Fix more Color tests.
|
2013-04-08 07:27:30 -07:00 |
|
Jürg Lehni
|
8292112ecd
|
More work on Color and testing.
|
2013-04-08 07:07:41 -07:00 |
|
Jürg Lehni
|
0aa6c66681
|
Start refactoring Color tests.
|
2013-04-08 00:19:47 -07:00 |
|
Jürg Lehni
|
232ea221b4
|
First batch of large Color refactoring and simplification.
Work in progress.
|
2013-04-07 10:03:51 -07:00 |
|
Jonathan Puckey
|
a87c9e9a7f
|
Add test for Raster#getAverageColor(compoundPath).
|
2013-03-17 22:27:44 +01:00 |
|
Jonathan Puckey
|
d7546c0c8d
|
Add failing test for Raster#getAverageColor(path).
|
2013-03-17 19:24:08 +01:00 |
|
Jonathan Puckey
|
58247ea232
|
Fix bug in Raster#getSubImage and add test.
|
2013-03-17 18:57:16 +01:00 |
|
Jonathan Puckey
|
2058bf3438
|
Add tests for creating a raster from a data url, Raster#getPixel & Raster#setPixel.
|
2013-03-17 18:41:07 +01:00 |
|
Jonathan Puckey
|
15cdca2a92
|
Cleanup whitespace in Raster tests.
|
2013-03-17 18:16:59 +01:00 |
|
Jonathan Puckey
|
9865d7bdd5
|
Add raster constructor tests, add async test helper function and test image.
|
2013-03-17 18:13:55 +01:00 |
|
Jonathan Puckey
|
0d3f746c10
|
Have Raster constructor set Raster#_size to [0, 0] if it was not set.
|
2013-03-17 17:04:56 +01:00 |
|
Jonathan Puckey
|
15dab4c2db
|
Add failing raster test where creating a raster without a source and then setting its size throws an error.
|
2013-03-17 16:52:54 +01:00 |
|