mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
tests for h3ExactEdgeLengthM
This commit is contained in:
parent
2d6801aa95
commit
43eafc9316
@ -0,0 +1,16 @@
|
||||
489555.59989912313
|
||||
192390.78306095628
|
||||
66919.13220366438
|
||||
1263609.6633631135
|
||||
480744.0319163875
|
||||
195449.63163407316
|
||||
1263609.663363112
|
||||
461806.9719440694
|
||||
190087.69842412468
|
||||
1263609.6633631124
|
||||
465419.72260404145
|
||||
64819.70466298482
|
||||
1263609.6633631117
|
||||
69636.41611246637
|
||||
195627.4718146093
|
||||
67660.85681290775
|
29
tests/queries/0_stateless/02165_h3_exact_edge_length_m.sql
Normal file
29
tests/queries/0_stateless/02165_h3_exact_edge_length_m.sql
Normal file
@ -0,0 +1,29 @@
|
||||
-- Tags: no-fasttest
|
||||
|
||||
DROP TABLE IF EXISTS h3_indexes;
|
||||
|
||||
CREATE TABLE h3_indexes (h3_index UInt64) ENGINE = Memory;
|
||||
|
||||
-- Test h3 indices selected from original test fixture: https://github.com/uber/h3/blob/master/src/apps/testapps/testH3CellAreaExhaustive.c
|
||||
|
||||
INSERT INTO h3_indexes VALUES (1298057039473278975);
|
||||
INSERT INTO h3_indexes VALUES (1370114633511206911);
|
||||
INSERT INTO h3_indexes VALUES (1442172227549134847);
|
||||
INSERT INTO h3_indexes VALUES (1514229821587062783);
|
||||
INSERT INTO h3_indexes VALUES (1232301846085763071);
|
||||
INSERT INTO h3_indexes VALUES (1304359440123691007);
|
||||
INSERT INTO h3_indexes VALUES (1376417034161618943);
|
||||
INSERT INTO h3_indexes VALUES (1448474628199546879);
|
||||
INSERT INTO h3_indexes VALUES (1598506838100279295);
|
||||
INSERT INTO h3_indexes VALUES (1238219417666453503);
|
||||
INSERT INTO h3_indexes VALUES (1310277011704381439);
|
||||
INSERT INTO h3_indexes VALUES (1382334605742309375);
|
||||
INSERT INTO h3_indexes VALUES (1458182628678041599);
|
||||
INSERT INTO h3_indexes VALUES (1530240222715969535);
|
||||
INSERT INTO h3_indexes VALUES (1602297816753897471);
|
||||
INSERT INTO h3_indexes VALUES (1242009915283734527);
|
||||
|
||||
SELECT h3ExactEdgeLengthM(h3_index) FROM h3_indexes ORDER BY h3_index;
|
||||
|
||||
DROP TABLE h3_indexes;
|
||||
|
Loading…
Reference in New Issue
Block a user