def test_equals_2(self): self.assertEqual(duplicate_encode('recede'), '()()()')
def test_equals_4(self): self.assertEqual(duplicate_encode('(( @'), '))((')
def test_equals(self): self.assertEqual(duplicate_encode('din'), '(((')
def test_equals_3(self): self.assertEqual(duplicate_encode('Success'), ')())())')
def test_equals_2(self): self.assertEqual(duplicate_encode("recede"), "()()()")
def test_equals(self): self.assertEqual(duplicate_encode("din"), "(((")
def test_equals_4(self): self.assertEqual(duplicate_encode("(( @"), "))((")
def test_equals_3(self): self.assertEqual(duplicate_encode("Success"), ")())())")