Skip to content

Instantly share code, notes, and snippets.

@estan
Created June 16, 2018 19:18
Show Gist options
  • Save estan/3a13153d798d22d2f5f242f5b7dc7cf0 to your computer and use it in GitHub Desktop.
Save estan/3a13153d798d22d2f5f242f5b7dc7cf0 to your computer and use it in GitHub Desktop.
TEST test_l5_dataset_open_succeeds_correctly()
{
l5_file *file = l5_open(TEST_DATA_DIR "/basic-3x3-32bit-int.hdf5");
ASSERT_FALSE(NULL == l5_dataset_open("/foo", file));
l5_close(file);
SKIPm("TODO");
}
PASS test_l5_open_fails_with_nonexistent_file: (50 ticks, 0.000 sec)
PASS test_l5_open_succeeds_with_version_0_superblock: (29 ticks, 0.000 sec)
PASS test_l5_open_fails_with_version_1_superblock: (15 ticks, 0.000 sec)
PASS test_l5_open_fails_with_unsupported_size_of_offsets: (13 ticks, 0.000 sec)
PASS test_l5_open_fails_with_unsupported_size_of_lengths: (22 ticks, 0.000 sec)
FAIL test_l5_dataset_open_succeeds_correctly: NULL == l5_dataset_open("/foo", file) (/home/estan/orexplore/lowfive/tests/test_lowfive.c:56) (16 ticks, 0.000 sec)
PASS test_l5_dataset_open_fails_with_null_path: (16 ticks, 0.000 sec)
PASS test_l5_dataset_open_fails_with_null_file: (0 ticks, 0.000 sec)
Total: 8 tests (217 ticks, 0.000 sec), 8 assertions
Pass: 7, fail: 1, skip: 0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment