Package gov.nih.mipav.model.file
Class MetadataExtractorTest.RationalTest
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractorTest.RationalTest
-
- Enclosing class:
- MetadataExtractorTest
public class MetadataExtractorTest.RationalTest extends java.lang.Object
- Author:
- Drew Noakes https://drewnoakes.com
-
-
Field Summary
Fields Modifier and Type Field Description private int[]
_primes
-
Constructor Summary
Constructors Constructor Description RationalTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getSimplifiedInstance_FlipsSignsIfNeeded()
void
getSimplifiedInstance_RemovesSignsIfNeeded()
void
simplifiedInstances()
void
testCompare()
void
testCreateRational()
void
testGetReciprocal()
void
testToSimpleString()
void
testToString()
void
testZeroOverZero()
-
-
-
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()
-
-