def test_subKeySearch(): assert Search.subKeySearch(data, "stC-3-") == subKeySearchAnswear assert Search.subKeySearch(data, "gns@otgnbs@eoutbjnr@[irn") == []
def test_endValueSearch(): assert Search.endValueSearch(data, "Dict6") == endValueSearchAnswear assert Search.endValueSearch(data, "ga@oubvaourb@iu") == []
def test_keySearch(): assert Search.keySearch(data, "2.5") == keySearchAnswear assert Search.keySearch(data, "anva@urav@u@ub") == []
def test_subValueSearch(): assert Search.subValueSearch(data, "list") == subValueSearchAnswear assert Search.subValueSearch(data, "lisgpewbu@piub4er") == []
def test_startValueSearch(): assert Search.startValueSearch(data, "listIn") == startValueSearchAnswear assert Search.startValueSearch(data, "gh@reaugaburgbe@ru") == []
def test_getAll(): assert Search.getAll(data) == getAllAnswear
def test_valueSearch(): assert Search.valueSearch(data, "listInDict6") == valueSearchAnswear assert Search.valueSearch(data, "listInDict6gbar@urba@") == []
def test_subKeySearch(self): self.assertEqual(subKeySearchAnswear, Search.subKeySearch(data, "stC-3-")) self.assertEqual([], Search.subKeySearch(data, "gns@otgnbs@eoutbjnr@[irn"))
def test_typeSearch(): assert Search.typeSearch(data, str) == typeSearchAnswer
def test_endValueSearch(self): self.assertEqual(endValueSearchAnswear, Search.endValueSearch(data, "Dict6")) self.assertEqual([], Search.endValueSearch(data, "ga@oubvaourb@iu"))
def test_keySearch(self): self.assertEqual(keySearchAnswear, Search.keySearch(data, "2.5")) self.assertEqual([], Search.keySearch(data, "anva@urav@u@ub"))
def test_startValueSearch(self): self.assertEqual(startValueSearchAnswear, Search.startValueSearch(data, "listIn")) self.assertEqual([], Search.startValueSearch(data, "gh@reaugaburgbe@ru"))
def test_subValueSearch(self): self.assertEqual(subValueSearchAnswear, Search.subValueSearch(data, "list")) self.assertEqual([], Search.subValueSearch(data, "lisgpewbu@piub4er"))
def test_valueSearch(self): self.assertEqual(valueSearchAnswear, Search.valueSearch(data, "listInDict6")) self.assertEqual([], Search.valueSearch(data, "listInDict6gbar@urba@"))
def test_getAll(self): self.assertEqual(getAllAnswear, Search.getAll(data))
def test_typeSearch(self): self.assertEqual(typeSearchAnswer, Search.typeSearch(data, str))