def test_annotation_length_2(testdir, mock_testclass): annotation_length = s.annotation_length('chr1\t300\t680\ttest1') assert annotation_length == 380
def test_annotation_length_invalid(testdir, mock_testclass): annotation_length = s.annotation_length('chr1\t300') assert annotation_length == -1
def test_annotation_length(testdir, mock_testclass): annotation_length = s.annotation_length('chr1\t100\t250\ttest1') assert annotation_length == 150