예제 #1
0
 def test_strip_dynamic_marks(self):
     for mark in [
             'pppp', 'ppp', 'pp', 'p', 'mp', 'mf', 'f', 'ff', 'fff', 'ffff',
             'sfz'
     ]:
         abc = '|:ab!{}!cd:|'.format(mark)
         assert strip_decorations(abc) == '|:abcd:|'
예제 #2
0
 def test_strip_pralltriller(self):
     abc = '|:ab!pralltriller!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #3
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_fine(self):
     abc = '|:ab!fine!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #4
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_diminuendos(self):
     for mark in ['diminuendo(', '>(', 'diminuendo)', '>)']:
         abc = '|:ab!{}!cd:|'.format(mark)
         assert strip_decorations(abc) == '|:abcd:|'
예제 #5
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_thumb(self):
     abc = '|:ab!thumb!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #6
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_slide(self):
     abc = '|:ab!slide!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #7
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_tenuto(self):
     abc = '|:ab!tenuto!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #8
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_greater_than_mark(self):
     abc = '|:ab!>!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #9
0
 def test_strip_emphasis(self):
     abc = '|:ab!emphasis!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #10
0
 def test_strip_accent(self):
     abc = '|:ab!accent!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #11
0
 def test_strip_greater_than_mark(self):
     abc = '|:ab!>!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #12
0
 def test_strip_arpeggio(self):
     abc = '|:ab!arpeggio!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #13
0
 def test_strip_invertedturnx(self):
     abc = '|:ab!invertedturnx!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #14
0
 def test_strip_turn(self):
     abc = '|:ab!turn!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #15
0
 def test_strip_roll(self):
     abc = '|:ab!roll!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #16
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_roll(self):
     abc = '|:ab!roll!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #17
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_invertedturnx(self):
     abc = '|:ab!invertedturnx!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #18
0
 def test_strip_invertedfermata(self):
     abc = '|:ab!invertedfermata!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #19
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_emphasis(self):
     abc = '|:ab!emphasis!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #20
0
 def test_strip_tenuto(self):
     abc = '|:ab!tenuto!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #21
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
    def test_strip_left_hand_pizzicato(self):
        abc = '|:ab!+!cd:|'
        assert strip_decorations(abc) == '|:abcd:|'

        abc = '|:ab!plus!cd:|'
        assert strip_decorations(abc) == '|:abcd:|'
예제 #22
0
 def test_strip_fingerings(self):
     for i in range(6):
         abc = '|:ab!{}!cd:|'.format(i)
         assert strip_decorations(abc) == '|:abcd:|'
예제 #23
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_downbow(self):
     abc = '|:ab!downbow!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #24
0
    def test_strip_left_hand_pizzicato(self):
        abc = '|:ab!+!cd:|'
        assert strip_decorations(abc) == '|:abcd:|'

        abc = '|:ab!plus!cd:|'
        assert strip_decorations(abc) == '|:abcd:|'
예제 #25
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_dynamic_marks(self):
     for mark in ['pppp', 'ppp', 'pp', 'p', 'mp', 'mf',
                  'f', 'ff', 'fff', 'ffff', 'sfz']:
         abc = '|:ab!{}!cd:|'.format(mark)
         assert strip_decorations(abc) == '|:abcd:|'
예제 #26
0
 def test_strip_snap(self):
     abc = '|:ab!snap!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #27
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_dc(self):
     abc = '|:ab!D.C.!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #28
0
 def test_strip_slide(self):
     abc = '|:ab!slide!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #29
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_mediumphrase(self):
     abc = '|:ab!mediumphrase!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #30
0
 def test_strip_wedge(self):
     abc = '|:ab!wedge!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #31
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_pralltriller(self):
     abc = '|:ab!pralltriller!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #32
0
 def test_strip_downbow(self):
     abc = '|:ab!downbow!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #33
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_turn(self):
     abc = '|:ab!turn!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #34
0
 def test_strip_open(self):
     abc = '|:ab!open!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #35
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_arpeggio(self):
     abc = '|:ab!arpeggio!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #36
0
 def test_strip_thumb(self):
     abc = '|:ab!thumb!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #37
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_accent(self):
     abc = '|:ab!accent!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #38
0
 def test_strip_breath(self):
     abc = '|:ab!breath!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #39
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_invertedfermata(self):
     abc = '|:ab!invertedfermata!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #40
0
 def test_strip_crescendos(self):
     for mark in ['crescendo(', '<(', 'crescendo)', '<)']:
         abc = '|:ab!{}!cd:|'.format(mark)
         assert strip_decorations(abc) == '|:abcd:|'
예제 #41
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_fingerings(self):
     for i in range(6):
         abc = '|:ab!{}!cd:|'.format(i)
         assert strip_decorations(abc) == '|:abcd:|'
예제 #42
0
 def test_strip_diminuendos(self):
     for mark in ['diminuendo(', '>(', 'diminuendo)', '>)']:
         abc = '|:ab!{}!cd:|'.format(mark)
         assert strip_decorations(abc) == '|:abcd:|'
예제 #43
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_snap(self):
     abc = '|:ab!snap!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #44
0
 def test_strip_segno(self):
     abc = '|:ab!segno!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #45
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_wedge(self):
     abc = '|:ab!wedge!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #46
0
 def test_strip_dc(self):
     abc = '|:ab!D.C.!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #47
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_open(self):
     abc = '|:ab!open!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #48
0
 def test_strip_dacoda(self):
     abc = '|:ab!dacoda!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #49
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_breath(self):
     abc = '|:ab!breath!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #50
0
 def test_strip_fine(self):
     abc = '|:ab!fine!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #51
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_crescendos(self):
     for mark in ['crescendo(', '<(', 'crescendo)', '<)']:
         abc = '|:ab!{}!cd:|'.format(mark)
         assert strip_decorations(abc) == '|:abcd:|'
예제 #52
0
 def test_strip_shortphrase(self):
     abc = '|:ab!shortphrase!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #53
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_segno(self):
     abc = '|:ab!segno!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #54
0
 def test_strip_mediumphrase(self):
     abc = '|:ab!mediumphrase!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #55
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_dacoda(self):
     abc = '|:ab!dacoda!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #56
0
 def test_strip_longphrase(self):
     abc = '|:ab!longphrase!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #57
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_shortphrase(self):
     abc = '|:ab!shortphrase!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #58
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_uppermordent(self):
     abc = '|:ab!uppermordent!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #59
0
파일: test_strip.py 프로젝트: sjktje/sjkabc
 def test_strip_longphrase(self):
     abc = '|:ab!longphrase!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
예제 #60
0
 def test_strip_uppermordent(self):
     abc = '|:ab!uppermordent!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'