public void SuccessfullyReturnValueGivenDividendIsGreaterThanDivisor() { var function = new IeeeRemainderFunction(); var inputs = function.GetInputs(); Assert.Equal(2, inputs.Length); inputs[0].Value = 17; inputs[1].Value = 5; var result = function.Calculate(inputs); Assert.Collection(result, i => { Assert.Equal(typeof(double), i.Value.GetType()); Assert.Equal(Math.IEEERemainder(17, 5), TypeConverter.ToObject <double>(i.Value)); }); }