Beispiel #1
0
 def test_multi_closure(self):
     self.assertEqual(
         find_closure(b"(s(s)aa(((s)))u)sss", ord("("), ord(")")), 15)
Beispiel #2
0
 def test_multi_closure(self):
     self.assertEqual(
         find_closure(b'(s(s)aa(((s)))u)sss', ord('('), ord(')')), 15)
Beispiel #3
0
 def test_closure(self):
     self.assertEqual(find_closure(b"(ss)", ord("("), ord(")")), 3)
Beispiel #4
0
 def test_closure(self):
     self.assertEqual(find_closure(b'(ss)', ord('('), ord(')')), 3)