public void InBetweenScalingIsMultiplicative() { var leftOperand = new Kilo(); var rightOperand = new Hecto(); var multiplication = leftOperand.Exponent + rightOperand.Exponent; var operation = Normalisers.Get(multiplication); IsMultiply(operation); }
public void InBetweenScalingIsBasedOnLargerOfBothOperands() { var largerOperand = new Mega(); var inBetweenPrefix = new Hecto(); var expectedPrefix = new Mega(); var multiplication = largerOperand.Exponent + inBetweenPrefix.Exponent; var operation = Normalisers.Get(multiplication); Assert.Equal(expectedPrefix.Exponent, operation.Exponent); }