Commit Graph

25 Commits

Author SHA1 Message Date
Tom
05997d359c reverted Viewport.setRotation, created Viewport.setRotationWithPivot 2022-12-05 19:38:46 -05:00
Ian Gilman
77030096e4 Fixing test failures 2022-12-02 15:52:53 -08:00
jonasengelmann
5f50d9e59e reworked setRotation to allow all degree values 2022-08-22 15:34:29 +02:00
jonasengelmann
3cdd94e465 constrained rotation to shortest path 2022-06-29 19:47:26 +02:00
jonasengelmann
fb8bafc6a0 updated tests 2022-03-30 23:05:14 +02:00
Nelson Campos
0023ae9801 Put flip tests out from the original tests in their own test cases 2018-06-07 11:41:45 +01:00
Nelson Campos
6a2cd1ff84 Adds some more tests 2018-06-06 17:56:37 +01:00
Nelson Campos
3615ad412f Adds some more tests and tries to solve some code bugs.
A new variance parameter was added to assertPointsEquals function.

Variance value was set on loopingTestHelper function (1e-15).

The following tests were modified to execute tests on flipped viewport:
* 'panBy'
* 'panTo'
* 'zoomBy with ref point'
2018-06-06 17:03:40 +01:00
Nelson Campos
a31587df2f Adds tests about flip methods 2018-04-17 16:23:21 +01:00
nein09
b096e369d0 Controls and viewport 2018-01-02 08:32:45 -08:00
Antoine Vandecreme
8e755c389a Fix zoomTo/zoomBy with ref point and immediately to true. Fix #800 2017-05-07 17:22:44 +02:00
Antoine Vandecreme
fbcf78c894 Fix tests. 2016-08-28 19:59:36 +02:00
Victor Rodriguez Gil
0035b3f36f Test that shows the bug #890, fails 2016-06-13 23:04:55 +00:00
Antoine Vandecreme
8951ac3f5b Fix fitBounds with extreme zoom values. 2016-05-17 14:27:28 -04:00
Antoine Vandecreme
0c398eacdb Add test for fitBounds with a rotated rectangle. 2016-05-10 21:19:33 -04:00
Antoine Vandecreme
e4c29d649b Remove code duplication in Viewport.applyConstraints. 2016-05-10 18:49:55 -04:00
Antoine Vandecreme
521e020b9a Viewport getBounds and fitBounds methods now take rotation into account. Fix #924 2016-05-04 22:26:33 -04:00
Antoine Vandecreme
3106d8f85b Fix viewport.fitBounds tests. 2016-04-23 08:29:32 -04:00
Antoine Vandecreme
e0e6ce9b65 Add unit tests for home bounds with clip. 2016-04-09 18:13:37 -04:00
Antoine Vandecreme
0725645344 Fix applyConstraints. Fix #833. 2016-02-15 17:09:31 -05:00
Antoine Vandecreme
1d04ceadff Fix home bounds with rotation. Fix #567 and #463 2015-12-05 19:18:56 -05:00
Ian Gilman
4e168d734e Updated tests for #524 2015-10-29 13:31:33 -07:00
Ian Gilman
20443e30f1 Fixes for viewport tests with collections 2015-02-09 10:36:07 -08:00
Ian Gilman
6cb08a8b58 Merge branch 'master' into collections 2015-02-09 10:18:30 -08:00
Ian Gilman
03fec96f33 Moved viewport test 2015-01-02 14:25:42 -08:00