test_import_external_tracks

Classes

TestLoadTracks

Module Contents

class test_import_external_tracks.TestLoadTracks
test_non_unique_ids()

Test that a ValueError is raised if the ids are not unique

test_string_ids()

Test that string ids are converted to unique integers

test_set_scale()

Test that the scaling is correctly propagated to the tracks

test_valid_segmentation()

Test that the segmentation value of the first node matches with its id

test_relabel_segmentation()

Test relabeling the segmentation if id != seg_id

test_measurements()

Test if the area is measured correctly, taking scaling into account

test_load_sample_data()