@@ -31,62 +31,22 @@ cases = [ Case { description = "empty strands"
3131 , strand2 = " "
3232 , expected = Just 0
3333 }
34- , Case { description = " identical strands"
34+ , Case { description = " single letter identical strands"
3535 , strand1 = " A"
3636 , strand2 = " A"
3737 , expected = Just 0
3838 }
39- , Case { description = " long identical strands"
40- , strand1 = " GGACTGA"
41- , strand2 = " GGACTGA"
42- , expected = Just 0
43- }
44- , Case { description = " complete distance in single nucleotide strands"
45- , strand1 = " A"
46- , strand2 = " G"
47- , expected = Just 1
48- }
49- , Case { description = " complete distance in small strands"
50- , strand1 = " AG"
51- , strand2 = " CT"
52- , expected = Just 2
53- }
54- , Case { description = " small distance in small strands"
55- , strand1 = " AT"
56- , strand2 = " CT"
57- , expected = Just 1
58- }
59- , Case { description = " small distance"
60- , strand1 = " GGACG"
61- , strand2 = " GGTCG"
39+ , Case { description = " single letter different strands"
40+ , strand1 = " G"
41+ , strand2 = " T"
6242 , expected = Just 1
6343 }
64- , Case { description = " small distance in long strands"
65- , strand1 = " ACCAGGG"
66- , strand2 = " ACTATGG"
67- , expected = Just 2
68- }
69- , Case { description = " non-unique character in first strand"
70- , strand1 = " AAG"
71- , strand2 = " AAA"
72- , expected = Just 1
73- }
74- , Case { description = " non-unique character in second strand"
75- , strand1 = " AAA"
76- , strand2 = " AAG"
77- , expected = Just 1
78- }
79- , Case { description = " same nucleotides in different positions"
80- , strand1 = " TAG"
81- , strand2 = " GAT"
82- , expected = Just 2
83- }
84- , Case { description = " large distance"
85- , strand1 = " GATACA"
86- , strand2 = " GCATAA"
87- , expected = Just 4
44+ , Case { description = " long identical strands"
45+ , strand1 = " GGACTGAAATCTG"
46+ , strand2 = " GGACTGAAATCTG"
47+ , expected = Just 0
8848 }
89- , Case { description = " large distance in off-by-one strand "
49+ , Case { description = " long different strands "
9050 , strand1 = " GGACGGATTCTG"
9151 , strand2 = " AGGACGGATTCT"
9252 , expected = Just 9
0 commit comments