We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c67d6da commit a260848Copy full SHA for a260848
climada/util/test/test_coordinates.py
@@ -1360,15 +1360,15 @@ def setUp_match_coordinates(self):
1360
# test with different unit
1361
self.expected_results = {
1362
"degree": [
1363
- # test with different thresholds (in degree)
+ # test with different thresholds (in degree (converted to km))
1364
(100, [2, 1, 2, 0, 3, -1, 4]),
1365
(20, [-1, 1, 2, 0, 3, -1, -1]),
1366
(0, [-1, 1, 2, 0, -1, -1, -1]),
1367
],
1368
"m": [
1369
# test with different thresholds (in m)
1370
- (100, [2, 1, 2, 0, 3, -1, -1]),
1371
- (20, [-1, 1, 2, 0, 3, -1, -1]),
+ (100e3, [2, 1, 2, 0, 3, -1, -1]),
+ (20e3, [-1, 1, 2, 0, 3, -1, -1]),
1372
1373
1374
"km": [
0 commit comments