def test_equals_2(self): self.assertEqual( len( match( { 'equity_max': 1.2, 'locations': ['New York', 'Kentucky'] }, self.candidates)), 2)
def test_equals(self): self.assertEqual( len( match( { 'equity_max': 0, 'locations': ['Los Angeles', 'New York'] }, self.candidates)), 0)
def test_equals_2(self): self.assertEqual(len(match({ 'equity_max': 1.2, 'locations': ['New York', 'Kentucky']}, self.candidates)), 2)
def test_equals(self): self.assertEqual(len(match({ 'equity_max': 0, 'locations': ['Los Angeles', 'New York']}, self.candidates)), 0)