def test_contains(self):
        ps = self.cls_instance()
        self._fill_storage(ps, self.SOME)
        self.assertTrue(ps.contains('t0'))
        self.assertTrue(ps.contains("t{}".format(self.SOME - 1)))
        self.assertIn('t0', ps)
        self.assertIn("t{}".format(1 - self.SOME), ps)
        self.assertIn("t{}".format(self.SOME // 2), ps)
        self.assertFalse(ps.contains('xx'))
        self.assertNotIn('xx', ps)
        self.assertTrue(ps.contains('t0', 'r0'))
        self.assertTrue(ps.contains("t{}".format(self.SOME - 1),
                                    "r{}".format(self.SOME - 1)) )
        self.assertFalse(ps.contains('t0', 'aa'))

        ps.add('t0', 'abc')
        self.assertTrue(ps.contains('t0', 'abc'))
        self.assertTrue(ps.contains('t0', 'r0'))

        for i in range(0, self.MANY):
            res = "{}{}".format('n', i)
            ps.add('t0', res)
            self.assertTrue(ps.contains('t0', res))
dataset/ETHPy150Open BasicWolf/kaylee/kaylee/testsuite/storage_tests.py/PermanentStorageTestsBase.test_contains/swapped operands of `-`