def contiguous_and_non_contiguous_verses(): assert nave.parse('Jud21:10,19-21') == [ reference.Data('Judges', 21, 10), reference.Data('Judges', 21, 19), reference.Data('Judges', 21, 20), reference.Data('Judges', 21, 21) ]
def multiple_chapters(): assert nave.parse('De2:17,18:1-2; Ge2:1') == [ reference.Data('Deuteronomy', 2, 17), reference.Data('Deuteronomy', 18, 1), reference.Data('Deuteronomy', 18, 2), reference.Data('Genesis', 2, 1) ]
def multiple_verses(): assert nave.parse('Jer35:6,8,16,19') == [ reference.Data('Jeremiah', 35, 6), reference.Data('Jeremiah', 35, 8), reference.Data('Jeremiah', 35, 16), reference.Data('Jeremiah', 35, 19) ]
def similar_book_names(): assert nave.parse('Jude1:3-4; Jud1:1') == [ reference.Data('Jude', 1, 3), reference.Data('Jude', 1, 4), reference.Data('Judges', 1, 1) ]
def multiple(): assert nave.parse('Ex15:20; Ex32:19; Jud11:34') == [ reference.Data('Exodus', 15, 20), reference.Data('Exodus', 32, 19), reference.Data('Judges', 11, 34) ]
def two_verses(): assert nave.parse('Ex32:19,25') == [ reference.Data('Exodus', 32, 19), reference.Data('Exodus', 32, 25) ]
def non_canonical(): assert nave.parse('Da14:1') == []
def single_with_book_number(): assert nave.parse('1Ch4:2') == [ reference.Data('1 Chronicles', 4, 2) ]
def single(): assert nave.parse('Mt14:6') == [reference.Data('Matthew', 14, 6)]