def test_calc3(self): p = mastermind.calcperm(1,1,6,4) self.assertEqual(p, 180)
def test_calc(self): p = mastermind.calcperm(0,0,6,4) self.assertEqual(p, math.pow(6,4))
def test_calc2(self): p = mastermind.calcperm(6,0,6,4) self.assertEqual(p, 1)
def test_calc4(self): p = mastermind.calcperm(3,1,6,4) self.assertEqual(p, 5)