add_h3_cli_test(
    testCliCompactCellsFile1
    "compactCells -i ${PROJECT_SOURCE_DIR}/tests/inputfiles/compact_test1.txt -f newline | tr -s '\\\\r\\\\n' ',' | tr -s '\\\\n' ','"
    "85283447fffffff,8528340ffffffff,8528340bfffffff,85283457fffffff,85283443fffffff,8528344ffffffff,852836b7fffffff,8528342bfffffff,8528343bfffffff,85283407fffffff,85283403fffffff,8528341bfffffff,8428347ffffffff,"
)
add_h3_cli_test(
    testCliCompactCellsFile2
    "compactCells -i ${PROJECT_SOURCE_DIR}/tests/inputfiles/compact_test2.txt -f newline | tr -s '\\\\r\\\\n' ',' | tr -s '\\\\n' ','"
    "85283447fffffff,8528340ffffffff,8528340bfffffff,85283457fffffff,85283443fffffff,8528344ffffffff,852836b7fffffff,8528342bfffffff,8528343bfffffff,85283407fffffff,85283403fffffff,8528341bfffffff,8428347ffffffff,"
)
add_h3_cli_test(
    testCliCompactCellsFile3
    "compactCells -i ${PROJECT_SOURCE_DIR}/tests/inputfiles/compact_test3.txt -f newline | tr -s '\\\\r\\\\n' ',' | tr -s '\\\\n' ','"
    "85283447fffffff,8528340ffffffff,8528340bfffffff,85283457fffffff,85283443fffffff,8528344ffffffff,852836b7fffffff,8528342bfffffff,8528343bfffffff,85283407fffffff,85283403fffffff,8528341bfffffff,8428347ffffffff,"
)
add_h3_cli_test(
    testCliCompactCellsStdin1
    "compactCells -i -- < ${PROJECT_SOURCE_DIR}/tests/inputfiles/compact_test1.txt -f newline | tr -s '\\\\r\\\\n' ',' | tr -s '\\\\n' ','"
    "85283447fffffff,8528340ffffffff,8528340bfffffff,85283457fffffff,85283443fffffff,8528344ffffffff,852836b7fffffff,8528342bfffffff,8528343bfffffff,85283407fffffff,85283403fffffff,8528341bfffffff,8428347ffffffff,"
)
add_h3_cli_test(
    testCliCompactCellsStdin2
    "compactCells -i -- < ${PROJECT_SOURCE_DIR}/tests/inputfiles/compact_test2.txt -f newline | tr -s '\\\\r\\\\n' ',' | tr -s '\\\\n' ','"
    "85283447fffffff,8528340ffffffff,8528340bfffffff,85283457fffffff,85283443fffffff,8528344ffffffff,852836b7fffffff,8528342bfffffff,8528343bfffffff,85283407fffffff,85283403fffffff,8528341bfffffff,8428347ffffffff,"
)
add_h3_cli_test(
    testCliCompactCellsStdin3
    "compactCells -i -- < ${PROJECT_SOURCE_DIR}/tests/inputfiles/compact_test3.txt -f newline | tr -s '\\\\r\\\\n' ',' | tr -s '\\\\n' ','"
    "85283447fffffff,8528340ffffffff,8528340bfffffff,85283457fffffff,85283443fffffff,8528344ffffffff,852836b7fffffff,8528342bfffffff,8528343bfffffff,85283407fffffff,85283403fffffff,8528341bfffffff,8428347ffffffff,"
)
add_h3_cli_test(
    testCliCompactCellsArg1
    "compactCells -c \"\\\\`cat ${PROJECT_SOURCE_DIR}/tests/inputfiles/compact_test1.txt\\\\`\" -f newline | tr -s '\\\\r\\\\n' ',' | tr -s '\\\\n' ','"
    "85283447fffffff,8528340ffffffff,8528340bfffffff,85283457fffffff,85283443fffffff,8528344ffffffff,852836b7fffffff,8528342bfffffff,8528343bfffffff,85283407fffffff,85283403fffffff,8528341bfffffff,8428347ffffffff,"
)
add_h3_cli_test(
    testCliCompactCellsArg2
    "compactCells -c \\\\`cat ${PROJECT_SOURCE_DIR}/tests/inputfiles/compact_test2.txt\\\\` -f newline | tr -s '\\\\r\\\\n' ',' | tr -s '\\\\n' ','"
    "85283447fffffff,8528340ffffffff,8528340bfffffff,85283457fffffff,85283443fffffff,8528344ffffffff,852836b7fffffff,8528342bfffffff,8528343bfffffff,85283407fffffff,85283403fffffff,8528341bfffffff,8428347ffffffff,"
)
add_h3_cli_test(
    testCliCompactCellsArg3
    "compactCells -c \\\\`cat ${PROJECT_SOURCE_DIR}/tests/inputfiles/compact_test3.txt\\\\` -f newline | tr -s '\\\\r\\\\n' ',' | tr -s '\\\\n' ','"
    "85283447fffffff,8528340ffffffff,8528340bfffffff,85283457fffffff,85283443fffffff,8528344ffffffff,852836b7fffffff,8528342bfffffff,8528343bfffffff,85283407fffffff,85283403fffffff,8528341bfffffff,8428347ffffffff,"
)
