Class MetadataExtractorTest.RationalTest

  • Enclosing class:
    MetadataExtractorTest

    public class MetadataExtractorTest.RationalTest
    extends java.lang.Object
    Author:
    Drew Noakes https://drewnoakes.com
    • Field Detail

      • _primes

        private final int[] _primes
    • Constructor Detail

      • RationalTest

        public RationalTest()
    • Method Detail

      • testCompare

        public void testCompare()
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCreateRational

        public void testCreateRational()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testToString

        public void testToString()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testToSimpleString

        public void testToSimpleString()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetReciprocal

        public void testGetReciprocal()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testZeroOverZero

        public void testZeroOverZero()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • simplifiedInstances

        public void simplifiedInstances()
      • getSimplifiedInstance_FlipsSignsIfNeeded

        public void getSimplifiedInstance_FlipsSignsIfNeeded()
      • getSimplifiedInstance_RemovesSignsIfNeeded

        public void getSimplifiedInstance_RemovesSignsIfNeeded()