public void MultiplyIntsTests() { VerifyMultiplication(3, Aints, Bints, Aints.Multiply(Bints), "A * B"); VerifyMultiplication(3, Bints, Aints, Bints.Multiply(Aints), "B * A"); VerifyMultiplication(4, Aints, Cints, Aints.Multiply(Cints), "A * C"); VerifyMultiplication(4, Cints, Bints, Cints.Multiply(Bints), "C * B"); }
public void MultiplyConstantIntsTests() { VerifyMultiplication(3, Aints, 7, Aints.Multiply(7), "A * 7"); VerifyMultiplication(3, Bints, 9, Bints.Multiply(9), "B * 9.2"); VerifyMultiplication(3, Aints, -88, Aints.Multiply(-88), "A * -88"); VerifyMultiplication(4, Cints, (int)17.26, Cints.Multiply(17), "C * 17.26"); }
public void MultiplyIntsByConstantDoubleTests() { VerifyMultiplication(3, A, 7.0, Aints.Multiply(7.0), "A * 7"); VerifyMultiplication(3, B, 9.7, Bints.Multiply(9.7), "B * 9.2"); VerifyMultiplication(3, A, -88.0, Aints.Multiply(-88.0), "A * -88"); VerifyMultiplication(4, C, 17.26, Cints.Multiply(17.26), "C * 17.26"); }