use of javax.measure.Dimension in project unit-api by unitsofmeasurement.
the class DimensionTest method testDivide.
@Test
public void testDivide() {
Dimension dim = TestDimension.getInstance();
Dimension result = sut.divide(dim);
assertNotNull(result);
}
use of javax.measure.Dimension in project unit-api by unitsofmeasurement.
the class DimensionTest method testGetInstance.
@Test
public void testGetInstance() {
Dimension dim = TestDimension.getInstance();
assertNotNull(dim);
}
use of javax.measure.Dimension in project unit-api by unitsofmeasurement.
the class DimensionTest method testMultiply.
@Test
public void testMultiply() {
Dimension dim = TestDimension.getInstance();
Dimension result = sut.multiply(dim);
assertNotNull(result);
}
use of javax.measure.Dimension in project unit-api by unitsofmeasurement.
the class DimensionTest method testPow.
@Test
public void testPow() {
Dimension result = sut.pow(2);
assertNotNull(result);
}
use of javax.measure.Dimension in project unit-api by unitsofmeasurement.
the class UnitTest method testGetDimension.
/**
* Test method for {@link javax.measure.test.EnumUnit#getDimension()}.
*/
@Test
public void testGetDimension() {
final Dimension dim = TestDimension.getInstance();
assertEquals(dim, sut.getDimension());
}
Aggregations