Debian Codegraph @

tests/cli/constructCell.txt

raw
1 add_h3_cli_test(
2 testCliConstructCellRes0
3 "constructCell -r 0 -b 0 -f newline" "8001fffffffffff")
4 add_h3_cli_test(
5 testCliConstructCellRes0WithoutResolutionArg
6 "constructCell -b 0 -f newline" "8001fffffffffff")
7 add_h3_cli_test(
8 testCliConstructCellRes0Json
9 "constructCell -r 0 -b 0 -f json" "\"8001fffffffffff\"")
10 add_h3_cli_test(
11 testCliConstructCellRes0_bc1
12 "constructCell -r 0 -b 1 -f newline" "8003fffffffffff")
13 add_h3_cli_test(
14 testCliConstructCellRes0_bc121
15 "constructCell -r 0 -b 121 -f newline" "80f3fffffffffff")
16 add_h3_cli_test(
17 testCliConstructCellRes3
18 "constructCell -r 3 -b 73 -d 1,2,3 -f newline" "839253fffffffff")
19 add_h3_cli_test(
20 testCliConstructCellRes3WithoutResolutionArg
21 "constructCell -b 73 -d 1,2,3 -f newline" "839253fffffffff")
22 add_h3_cli_test(
23 testCliConstructCellRes2
24 "constructCell -r 2 -b 15 -d 5,4 -f newline" "821f67fffffffff")
25 add_h3_cli_test(
26 testCliConstructCellRes1
27 "constructCell -r 1 -b 42 -d 6 -f newline" "8155bffffffffff")
28 add_h3_cli_test(
29 testCliConstructCellRes15
30 "constructCell -r 15 -b 58 -d 5,1,6,3,1,1,1,4,4,5,5,3,3,3,0 -f newline" "8f754e64992d6d8")
31 add_h3_cli_test(
32 testCliConstructCellResDomain
33 "constructCell -r 16 -b 0 -d 0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2 2>&1"
34 "Error 4: Resolution argument was outside of acceptable range")
35 add_h3_cli_test(
36 testCliConstructCellResDomainNoResArg
37 "constructCell -b 0 -d 0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2 2>&1"
38 "Error 4: Resolution argument was outside of acceptable range")
39 add_h3_cli_test(
40 testCliConstructCellResDomainNeg
41 "constructCell -r -1 -b 0 2>&1"
42 "Error 4: Resolution argument was outside of acceptable range")
43 add_h3_cli_test(
44 testCliConstructCellBaseCellDomain
45 "constructCell -r 0 -b 122 2>&1"
46 "Error 17: Base cell number was outside of acceptable range")
47 add_h3_cli_test(
48 testCliConstructCellBaseCellDomainNeg
49 "constructCell -r 0 -b -1 2>&1"
50 "Error 17: Base cell number was outside of acceptable range")
51 add_h3_cli_test(
52 testCliConstructCellBaseCellDomainHigh
53 "constructCell -r 0 -b 259 2>&1"
54 "Error 17: Base cell number was outside of acceptable range")
55 add_h3_cli_test(
56 testCliConstructCellDigitDomainNeg
57 "constructCell -r 1 -b 40 -d -1 2>&1"
58 "Error 18: Child digits invalid")
59 add_h3_cli_test(
60 testCliConstructCellDigitDomain7
61 "constructCell -r 1 -b 40 -d 7 2>&1"
62 "Error 18: Child digits invalid")
63 add_h3_cli_test(
64 testCliConstructCellDigitDomain8
65 "constructCell -r 1 -b 40 -d 8 2>&1"
66 "Error 18: Child digits invalid")
67 add_h3_cli_test(
68 testCliConstructCellDigitDomain17
69 "constructCell -r 1 -b 40 -d 17 2>&1"
70 "Error 18: Child digits invalid")
71 add_h3_cli_test(
72 testCliConstructCellInvalidCommas
73 "constructCell -r 3 -b 40 -d 1,,2 2>&1"
74 "Error 18: Child digits invalid")
75 add_h3_cli_test(
76 testCliConstructCellDeletedSubsequence
77 "constructCell -r 3 -b 4 -d 0,0,1 2>&1"
78 "Error 19: Deleted subsequence indicates invalid index")