コード例 #1
0
ファイル: test_strip.py プロジェクト: stockedge/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:|'
コード例 #2
0
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 def test_strip_emphasis(self):
     abc = '|:ab!emphasis!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
コード例 #10
0
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 def test_strip_accent(self):
     abc = '|:ab!accent!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
コード例 #11
0
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 def test_strip_greater_than_mark(self):
     abc = '|:ab!>!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
コード例 #12
0
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 def test_strip_arpeggio(self):
     abc = '|:ab!arpeggio!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
コード例 #13
0
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 def test_strip_invertedturnx(self):
     abc = '|:ab!invertedturnx!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
コード例 #14
0
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 def test_strip_turn(self):
     abc = '|:ab!turn!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'
コード例 #15
0
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/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:|'
コード例 #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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 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
ファイル: test_strip.py プロジェクト: stockedge/sjkabc
 def test_strip_uppermordent(self):
     abc = '|:ab!uppermordent!cd:|'
     assert strip_decorations(abc) == '|:abcd:|'