def test_9(self): code = cb.codeVonFilename("sample9") self.assertEqual(cb.checkblock(code), (4, '{', 'Klammer ist nicht geschlossen'))
def test_1(self): code = cb.codeVonFilename("sample1") self.assertEqual(cb.checkblock(code), (None, None, None))
def test_3(self): code = cb.codeVonFilename("sample3") self.assertEqual(cb.checkblock(code), (5, '}', 'extra Klammer'))