예제 #1
0
파일: match_test.py 프로젝트: stuaxo/mnd
 def test_args(self):
     self.assertTrue(arg_match([1], [1]))
예제 #2
0
파일: match_test.py 프로젝트: stuaxo/mnd
 def test_subarg(self):
     note1 = Msg(note=1, type="note_on")
     self.assertTrue(arg_match(dict(note=1), note1))
예제 #3
0
파일: match_test.py 프로젝트: stuaxo/mnd
 def test_arg(self):
     self.assertTrue(arg_match(1, 1))