Ejemplo n.º 1
0
        public bool TestNormalization()
        {
            Fraction test1 = new Fraction(15, 20);

            if (test1.GetNumerator() == 3 && test1.GetDenominator() == 4)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Ejemplo n.º 2
0
 public bool TestNormalization()
 {
     Fraction test1 = new Fraction(15, 20);
     if (test1.GetNumerator() == 3 && test1.GetDenominator() == 4)
     {
         return true;
     }
     else
     {
         return false;
     }
 }