Пример #1
0
 def test_of_intro(self):
     expected = "="
     self.assertEqual(of_intro(), expected)
     expected = "=="
     self.assertEqual(of_intro(True), expected)
Пример #2
0
 def test_of_formula(self):
     expected = "of:= SUM([.A1:.A2])"
     self.assertEqual(of_formula(of_intro(False), "SUM([.A1:.A2])"), expected)
     expected = "of:== SUM([.A1:.A2])"
     self.assertEqual(of_formula(of_intro(True), "SUM([.A1:.A2])"), expected)