parameters: (self)
docstring: Permutations of str "ABC" correct
docstring_summary: Permutations of str "ABC" correct
docstring_tokens: Permutations of str ABC correct
function: def test_recursive2(self):
          """ Permutations of str "ABC" correct """
          A = "ABC"
          r = perm_recursive(A)
          self.assertEqual(set(tuple([tuple(l) for l in r])), set(self.perm_ABC))
          self.assertEqual(len(r), factorial(len(A)))
function_tokens: def test_recursive2 ( self ) : A = "ABC" r = perm_recursive ( A ) self . assertEqual ( set ( tuple ( [ tuple ( l ) for l in r ] ) ) , set ( self . perm_ABC ) ) self . assertEqual ( len ( r ) , factorial ( len ( A ) ) )