public void Test3() { var me = new ModularExponentiation(); var result = me.Calc(2, 5, 13); Assert.That(result, Is.EqualTo(6)); }
public void Test1() { var me = new ModularExponentiation(); Assert.That(me.Power(5, 7), Is.EqualTo((int)Math.Pow(5, 7))); }