Commit Graph

113 Commits

Author SHA1 Message Date
Paul Zabelin
8d1fbca924 fix: travis snapshot tolerance to 2% 2020-01-02 06:03:05 -08:00
Paul Zabelin
a051347f6f use pixel tolerance for snapshot test 2020-01-02 04:41:25 -08:00
Paul Zabelin
c43ecb2017 fix: travis reference images names 2020-01-02 04:32:29 -08:00
Paul Zabelin
cef15da04b fix: travis image comparison within a tolerance 2020-01-02 02:34:03 -08:00
Paul Zabelin
162109de0f update reference image 2020-01-02 02:03:55 -08:00
Paul Zabelin
e455219f6d fix: snapshot test image 2020-01-02 01:04:47 -08:00
Paul Zabelin
f8d30c43d8 update cocoapods 2020-01-02 00:53:58 -08:00
Paul Zabelin
02416f422a update to Quick (2.1.0) 2019-04-30 09:19:23 -07:00
Paul Zabelin
73a618eb4b extract corners() and reuse method for CGRect 2019-04-10 13:24:05 -07:00
Paul Zabelin
944a5f4bac describe performance test results 2019-04-10 03:24:56 -07:00
Paul Zabelin
137dfd5808 refactor to reuse CompareTransformSpecConfiguration 2019-04-10 02:53:10 -07:00
Paul Zabelin
b0455dfef6 reuse zero from simd 2019-04-09 13:37:04 -07:00
Paul Zabelin
722f8cad02 extract transform components for testing affective transform on layer 2019-03-19 14:25:39 -07:00
Paul Zabelin
3517fa7e4c add specs showing use of basisVectorsToPointsMap and pointsToBasisVectorsMap 2019-03-17 22:24:23 -07:00
Paul Zabelin
cf20cb7298 reindent 2019-03-17 21:20:37 -07:00
Paul Zabelin
d085de277d rename Types 2019-03-16 09:51:48 -07:00
Paul Zabelin
6a3a7ff49d fix lint warnings 2019-02-05 14:37:08 -08:00
Paul Zabelin
f464010f74 lint 2019-01-21 22:06:07 -08:00
Paul Zabelin
64adf79f49 Optimize travis build (#3)
* use whole module compilation mode

to workaround intermittent code sign failures, see https://travis-ci.org/paulz/PerspectiveTransform/jobs/481952493#L985
that could be caused by known Xcode 10 issue: https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes/build_system_release_notes_for_xcode_10

* reuse test images from the app in app specs

* exclude svg from app specs as it is not used

* exclude metadata files from Example app build

* Revert "reuse test images from the app in app specs"

This reverts commit 9b18b81a036adc547771efed10cfe13e56f9c207.

* disallow warnings in pod lib lint, make SnapshotSpec work with or without app resources

* disable localization

* remove unused xcconfig files

* enable batch mode experiment

to workaround code sign issues: https://github.com/Yummypets/YPImagePicker/issues/236

* delete all code signing build settings

* fix framework specs dependency on the example app

* move scheme to workspace, disable auto create, ignore playground compiled files

* reuse test bundle info, remove unused build settings

* reset bundle indentifiers to the same value

* remove module name

* clean mac target build settings

* remove unused FRAMEWORK_SEARCH_PATHS

* reuse wrapper header as bridging

* reuse before install, cache bundler
2019-01-20 05:25:03 -08:00
Paul Zabelin
be9caea4ef compare with tolerance on iPhone 5s 2019-01-19 02:21:55 -08:00
Paul Zabelin
92cb3b48ae log warning on travis 2019-01-19 01:11:52 -08:00
Paul Zabelin
90d2d674a4 add image tolerance to snapshot test
for pod lib lint to pass validation on travis
2019-01-18 23:54:48 -08:00
Paul Zabelin
f69a92074c migrate to Swift 4.2 2018-10-08 11:25:06 -07:00
Paul Zabelin
6dd8da7dd2 make Quadrilateral internal 2018-03-12 02:16:44 -07:00
Paul Zabelin
71ee570786 add compare spec for perspective transform 2018-03-07 22:24:43 -08:00
Paul Zabelin
301a7d88a0 add CompareMethodsSpec 2018-03-07 22:19:30 -08:00
Paul Zabelin
00dfc84779 refactor test image helper 2018-03-07 21:14:13 -08:00
Paul Zabelin
b3fdf4ba93 verify basisVectorsToPointsMap on random points 2018-03-04 22:05:37 -08:00
Paul Zabelin
f2b7ca41ae add spec for basisVectorsToPointsMap 2018-03-04 21:04:15 -08:00
Paul Zabelin
c652086a54 update baselines 2018-03-01 00:55:00 -08:00
Paul Zabelin
a98119e04e mute noise on travis
optimize images
2018-02-28 22:01:27 -08:00
Paul Zabelin
95783c68c3 refactor accelerate test to verify correctness 2018-02-28 21:04:25 -08:00
Paul Zabelin
d13d6e656e add accelarate performance tests for comparison 2018-02-28 20:16:30 -08:00
Paul Zabelin
597268c64c refactor NimbleSpecHelper
to share it with OS X target
2018-02-28 17:33:17 -08:00
Paul Zabelin
2ec1e5c3c1 reinstall pods, fix specs 2018-02-28 01:26:59 -08:00
Paul Zabelin
0f1631dbe3 add tests for open cv on mac 2018-02-28 01:17:18 -08:00
Paul Zabelin
a5cb37639e add spec to compare algebraic solution and OpenCV 2018-02-27 23:30:50 -08:00
Paul Zabelin
11e5e09d9f add performance test to compare 2018-02-24 18:44:33 -08:00
Paul Zabelin
2611e7bda2 add Algebraic Solution 2018-02-24 18:34:58 -08:00
Paul Zabelin
24dae76b57 add patternTransform to svg
in attempt to match transformation of frame
2018-02-22 23:08:44 -08:00
Paul Zabelin
1724040583 add spec for reverse projection 2018-02-19 21:59:27 -08:00
Paul Zabelin
2c9c9b751f reuse layerRotation helper 2018-02-19 20:53:55 -08:00
Paul Zabelin
8509c89869 split Framework Unit Specs
from Application Specs
2018-02-19 20:34:28 -08:00
Paul Zabelin
606edbdf3c add spec for layer transform rotation 2018-02-19 17:41:20 -08:00
Paul Zabelin
4e166f91bf add CALayerTransformSpec 2018-02-19 17:02:53 -08:00
Paul Zabelin
18226612e4 verify key path values of layer transform 2018-02-19 16:21:34 -08:00
Paul Zabelin
f2301670ca refactor normalization and 3d conversion 2018-02-19 03:43:15 -08:00
Paul Zabelin
1f3308381a refactor use of constants
add spec for to3d
2018-02-19 02:57:17 -08:00
Paul Zabelin
debf5d9a4f add spec for basisVectorsToPointsMap
refactor static members of Matrix3x3Type
2018-02-19 01:47:29 -08:00
Paul Zabelin
256a5b4f98 refactor spec
to show normalized values that match initial values
2018-02-01 21:17:23 -08:00