(self)
| 152 | self.assertEqual(operator.and_(0xf, 0xa), 0xa) |
| 153 | |
| 154 | def test_concat(self): |
| 155 | operator = self.module |
| 156 | self.assertRaises(TypeError, operator.concat) |
| 157 | self.assertRaises(TypeError, operator.concat, None, None) |
| 158 | self.assertEqual(operator.concat('py', 'thon'), 'python') |
| 159 | self.assertEqual(operator.concat([1, 2], [3, 4]), [1, 2, 3, 4]) |
| 160 | self.assertEqual(operator.concat(Seq1([5, 6]), Seq1([7])), [5, 6, 7]) |
| 161 | self.assertEqual(operator.concat(Seq2([5, 6]), Seq2([7])), [5, 6, 7]) |
| 162 | self.assertRaises(TypeError, operator.concat, 13, 29) |
| 163 | |
| 164 | def test_countOf(self): |
| 165 | operator = self.module |
nothing calls this directly
no test coverage detected