def test_equals_3(self): self.assertEqual(anagrams('laser', ['lazing', 'lazy', 'lacer']), [])
def test_equals(self): self.assertEqual(anagrams('abba', ['aabb', 'abcd', 'bbaa', 'dada']), ['aabb', 'bbaa'])
def test_equals_2(self): self.assertEqual(anagrams( 'racer', ['crazer', 'carer', 'racar', 'caers', 'racer']), ['carer', 'racer'])