Tobias Bieniek
|
1d5389a45d
|
test: Deactivate mocha bail option
We don't want mocha to quit on the first failing test. It should continue
and see what other tests are failing.
|
2013-03-18 20:50:04 +01:00 |
|
Tobias Bieniek
|
47261124fc
|
test: Added expect(spy).to.be.called() syntactic sugar
|
2013-03-13 17:18:23 +01:00 |
|
Tobias Bieniek
|
93577bd335
|
test: Moved intersectsWith() testing function into test-extensions.js
|
2013-03-13 17:11:21 +01:00 |
|
Tobias Bieniek
|
01f9037782
|
test: Fixed linter errors
|
2013-03-13 04:59:20 +01:00 |
|
Tobias Bieniek
|
2245396bda
|
test: Updated README file
|
2013-03-13 04:55:30 +01:00 |
|
Tobias Bieniek
|
d5d8afc858
|
Converted "vector" branch unit tests to mocha, expect.js and sinon
|
2013-03-13 04:48:08 +01:00 |
|
Tobias Bieniek
|
8273d880d5
|
Merge remote-tracking branch 'origin/master' into mocha
Conflicts:
test/jasmine-extensions.js
|
2013-03-13 04:46:16 +01:00 |
|
Tobias Bieniek
|
89ab68cde7
|
Replaced jasmine testing framework by mocha, expect.js and sinon
as discussed in #319
|
2013-03-13 04:32:43 +01:00 |
|
Tobias Bieniek
|
1172e58a50
|
polyline: Replaced "new Array()" by "[]"
|
2013-03-11 21:41:32 +01:00 |
|
Tobias Bieniek
|
0df5b4cad2
|
polyline: Improved decoding loops to be more robust
|
2013-03-11 20:32:25 +01:00 |
|
Tobias Bieniek
|
8330586ee2
|
test/polyline: Reset testing data manually in encodeFloats test
|
2013-03-11 20:32:22 +01:00 |
|
Tobias Bieniek
|
8b45637e72
|
test/polyline: Added missing brackets
|
2013-03-11 20:32:18 +01:00 |
|
Tobias Bieniek
|
5d492a22fa
|
test/polyline: Fixed linter problems
|
2013-03-10 21:13:48 +01:00 |
|
Tobias Bieniek
|
5333d00173
|
test/polyline: Added encodedFlatPoints to testing data variables
DRY...
|
2013-03-10 21:07:23 +01:00 |
|
Tobias Bieniek
|
f793b69602
|
test/polyline: Reset testing data before each test
.. instead of using slice()
|
2013-03-10 21:05:32 +01:00 |
|
Tobias Bieniek
|
4b8a9aaa8f
|
test/polyline: Renamed flat_points variable to flatPoints
|
2013-03-10 20:59:15 +01:00 |
|
Tobias Bieniek
|
8a34eaa4a4
|
polyline: Removed extra space in encodeFloats() function
|
2013-03-10 20:46:29 +01:00 |
|
Tobias Bieniek
|
6f08122398
|
polyline: Used new *Deltas() functions in *FlatCoordinates()
|
2013-03-10 20:45:12 +01:00 |
|
Tobias Bieniek
|
aef15947c8
|
polyline: Added encode/decodeDeltas() functions
|
2013-03-10 20:44:34 +01:00 |
|
Tobias Bieniek
|
02707401a3
|
polyline: Added encode/decodeFloats() functions
|
2013-03-10 20:04:54 +01:00 |
|
Tobias Bieniek
|
cbdaf1035d
|
polyline: Added encode/decodeSignedIntegers() functions
|
2013-03-10 19:05:14 +01:00 |
|
Tobias Bieniek
|
78278798bb
|
polyline: Added encode/decodeUnsignedIntegers() functions
|
2013-03-10 18:48:49 +01:00 |
|
Tobias Bieniek
|
ce619871c2
|
test/polyline: Added two more test cases for unsigned integers
Again taken from the official documentation at Google.
|
2013-03-10 17:00:37 +01:00 |
|
Tobias Bieniek
|
680f3386ce
|
test/polyline: Added more test cases from official documentation
.. and marked those tests as such. URL of the "Encoded Polyline Algorithm Format" page is https://developers.google.com/maps/documentation/utilities/polylinealgorithm
|
2013-03-10 16:42:51 +01:00 |
|
Tobias Bieniek
|
395942fe8c
|
polyline: Only declare i variable once
Javascript only has function-wide scoping...
|
2013-03-10 16:33:44 +01:00 |
|
Tobias Bieniek
|
8bf6627354
|
polyline: Renamed variables to camelCase convention
|
2013-03-10 16:28:29 +01:00 |
|
Tobias Bieniek
|
76fc372a14
|
polyline: Added missing parenthesis for one-line statements
|
2013-03-10 16:24:30 +01:00 |
|
Tobias Bieniek
|
ea227419a3
|
polyline: Added encode/decodeFlatCoordinates() functions
|
2013-03-10 01:25:59 +01:00 |
|
Tobias Bieniek
|
04d764f4f3
|
polyline: Added encode/decodeFloat() functions
|
2013-03-09 23:17:29 +01:00 |
|
Tobias Bieniek
|
e802cc3d56
|
polyline: Added decodeSigned/UnsignedInteger() functions
|
2013-03-09 22:40:07 +01:00 |
|
Tobias Bieniek
|
36923d6688
|
Added basic ol.parser.polyline module
This module will contain the low-level functions for Google's "Encoded
Polyline" algorithm.
|
2013-03-09 22:19:59 +01:00 |
|
Tobias Bieniek
|
4f8ffbf2ce
|
Added notes that "./build.py test" requires plovr to be running
|
2013-03-09 20:05:31 +01:00 |
|
Tobias Bieniek
|
65397eb732
|
test/README: Updated "make test" to "./build.py test"
|
2013-03-09 20:00:18 +01:00 |
|
Tobias Bieniek
|
f35e4cd319
|
test: Renamed readme.md to README.md
.. and updated link in main README.md
(Github supports relative links now AFAIK)
|
2013-03-09 19:04:58 +01:00 |
|
Tobias Bieniek
|
34ec58a8ad
|
LICENSE: Fixed reference to AUTHORS file
|
2013-03-09 19:02:05 +01:00 |
|
Tobias Bieniek
|
d708a32094
|
Converted AUTHORS and LICENSE files to Markdown
.txt files are rendered by Github as plain monospace text. Markdown files
however are rendered with a more readable font and formatting.
|
2013-03-09 19:00:25 +01:00 |
|
Tobias Bieniek
|
ed9c2eebad
|
Renamed authors.txt, license.txt and readme.md to uppercase variants
This sets the text files apart from the rest of the code files and seems
to be the standard for most projects
|
2013-03-09 18:47:53 +01:00 |
|