units
Use physical dimensions at compile-time or run-time.
|
Test-cases for vnix::units::dim. More...
Go to the source code of this file.
Functions | |
TEST_CASE ("dim can be initialized from array.","[dim]") | |
TEST_CASE ("Encoding and decoding works as expected.","[dim]") | |
TEST_CASE ("Addition and subtraction work as expected.","[dim]") | |
TEST_CASE ("Multiplication and division work as expected.","[dim]") | |
Test-cases for vnix::units::dim.
Definition in file dim-test.cpp.
TEST_CASE | ( | "dim can be initialized from array." | , |
"" | [dim] | ||
) |
Definition at line 14 of file dim-test.cpp.
TEST_CASE | ( | "Encoding and decoding works as expected." | , |
"" | [dim] | ||
) |
Definition at line 22 of file dim-test.cpp.
TEST_CASE | ( | "Addition and subtraction work as expected." | , |
"" | [dim] | ||
) |
Definition at line 38 of file dim-test.cpp.
TEST_CASE | ( | "Multiplication and division work as expected." | , |
"" | [dim] | ||
) |
Definition at line 56 of file dim-test.cpp.