예제 #1
0
 def test_AND_with_direct_values(self):
     self.assertEqual(logical.AND(3, True, None), True)
     self.assertEqual(logical.AND(True, 0), False)
예제 #2
0
 def test_AND(self):
     self.assertEqual(logical.AND(VExpr(3), VExpr(True), VExpr(None)), True)
     self.assertEqual(logical.AND(VExpr(True), VExpr(0)), False)
예제 #3
0
 def test_AND_without_any_args(self):
     self.assertIsInstance(logical.AND(), xlerrors.NullExcelError)