def METHOD_NAME(self):
    """check that the modification to cuts.f is what we expect."""
    get_all_permutations = permutation.get_all_permutations
    output = get_all_permutations(['s','s','s'])
    self.assertEqual(len(output), 6)
    solution =  [[1, 2, 3], [1, 3, 2], [2, 1, 3], [2, 3, 1], [3, 1, 2], [3, 2, 1]]
    for sol in solution:
        self.assertTrue(sol in output)
    output = get_all_permutations(['b','b','j','j']) 
    self.assertEqual(len(output), 4)
    solution = [[1, 2, 3, 4], [2, 1, 3, 4], [1, 2, 4, 3], [2, 1, 4, 3]]
    for sol in solution:
        self.assertTrue(sol in output)
    output = get_all_permutations(['b','b','j','j','c','c'])        
    self.assertEqual(len(output), 8)
    solution = [[1, 2, 3, 4, 5, 6], [1, 2, 3, 4, 6, 5], [2, 1, 3, 4, 5, 6], [2, 1, 3, 4, 6, 5], [1, 2, 4, 3, 5, 6], [1, 2, 4, 3, 6, 5], [2, 1, 4, 3, 5, 6], [2, 1, 4, 3, 6, 5]]
    for sol in solution:
        self.assertTrue(sol in output)
    output = get_all_permutations(['b','b','j','b'])   
    self.assertEqual(len(output), 6)
    solution = [[1, 2, 3, 4], [1, 4, 3, 2], [2, 1, 3, 4], [2, 4, 3, 1], [4, 1, 3, 2], [4, 2, 3, 1]]
    for sol in solution:
        self.assertTrue(sol in  output)        