예제 #1
0
 def test_more_data_in_line(self):
     accidental = get_accidental(raw_abc='CDEF GABc | CDEF GAB^')
     self.assertEqual('^', accidental)
예제 #2
0
 def test_empty_line(self):
     accidental = get_accidental(raw_abc='')
     self.assertEqual('', accidental)
예제 #3
0
 def test_invalid_mixed_accidentals(self):
     accidental = get_accidental(raw_abc='^_')
     self.assertEqual('_', accidental)
예제 #4
0
 def test_double_sharp(self):
     accidental = get_accidental(raw_abc='^^')
     self.assertEqual('^^', accidental)
예제 #5
0
 def test_double_flat(self):
     accidental = get_accidental(raw_abc='__')
     self.assertEqual('__', accidental)
예제 #6
0
 def test_natural(self):
     accidental = get_accidental(raw_abc='=')
     self.assertEqual('=', accidental)
예제 #7
0
 def test_natural(self):
     accidental = get_accidental(raw_abc='=')
     self.assertEqual('=', accidental)
예제 #8
0
 def test_more_data_in_line(self):
     accidental = get_accidental(raw_abc='CDEF GABc | CDEF GAB^')
     self.assertEqual('^', accidental)
예제 #9
0
 def test_invalid_mixed_accidentals(self):
     accidental = get_accidental(raw_abc='^_')
     self.assertEqual('_', accidental)
예제 #10
0
 def test_empty_line(self):
     accidental = get_accidental(raw_abc='')
     self.assertEqual('', accidental)
예제 #11
0
 def test_double_flat(self):
     accidental = get_accidental(raw_abc='__')
     self.assertEqual('__', accidental)
예제 #12
0
 def test_double_sharp(self):
     accidental = get_accidental(raw_abc='^^')
     self.assertEqual('^^', accidental)