public void GetValue_FractionIsValid_ShouldReturnDoubleValue()
 {
     Fraction.Fraction fraction = new Fraction.Fraction();
     fraction.Numerator   = 3;
     fraction.Denominator = 4;
     Assert.AreEqual(0.75, fraction.GetValue(), 0.01);
 }
 public void GetValue_InvalidDenominator_ShouldReturnMaxValue()
 {
     Fraction.Fraction fraction = new Fraction.Fraction();
     fraction.Numerator = 3;
     Assert.AreEqual(Double.MaxValue, fraction.GetValue(), 0.01);
 }