예제 #1
0
 def test_switch_direction_left(self):
     parser = CSSRtlParser("")
     result = parser._switch_direction("left")
     self.assertEqual("right", result)
예제 #2
0
 def test_switch_direction_other(self):
     parser = CSSRtlParser("")
     result = parser._switch_direction("center")
     self.assertIsNone(result)