feat: value_cast support added

Resolves #239 and #120
This commit is contained in:
Mateusz Pusz committed 2023-02-03 11:08:13 +01:00
1 parent cf3408a3c8
commit b4f47c3fef
19 files changed
+220 -212

No files matched your search

@@ -105,7 +105,7 @@ TEST_CASE("vector quantity", "[la]")
SECTION("truncating")
{
const quantity<isq::position_vector[m], vector<int>> v{vector<int>{1001, 1002, 1003}};
CHECK(quantity_cast<km>(v).number() == vector<int>{1, 1, 1});
CHECK(value_cast<km>(v).number() == vector<int>{1, 1, 1});
}
}