Remove method Dimension::newComposite()

This commit is contained in:
Joakim Hove
2020-03-05 10:12:47 +01:00
parent 874c734628
commit 4b0ee9d0bb
4 changed files with 2 additions and 15 deletions

View File

@@ -41,11 +41,6 @@ BOOST_AUTO_TEST_CASE(CreateDimension) {
BOOST_CHECK_EQUAL(1 , length.getSIScaling());
}
BOOST_AUTO_TEST_CASE(makeComposite) {
auto composite = Dimension::newComposite("Length*Length*Length/Time" , 100);
BOOST_CHECK_EQUAL(100 , composite.getSIScaling());
}
BOOST_AUTO_TEST_CASE(CreateUnitSystem) {
UnitSystem system(UnitSystem::UnitType::UNIT_TYPE_METRIC);