math_test enabled

This commit is contained in:
Mateusz Pusz
2019-12-06 12:56:44 +01:00
parent 71eec182f9
commit 33f14f39f3
4 changed files with 17 additions and 10 deletions
+3 -3
View File
@@ -20,13 +20,13 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "units/dimensions/area.h"
#include "units/physical/si/area.h"
#include "units/math.h"
using namespace units;
namespace {
using namespace units::si::literals;
static_assert(std::is_same_v<decltype(pow<0>(2m)), std::int64_t>);
static_assert(std::is_same_v<decltype(pow<1>(2m)), decltype(2m)>);
static_assert(std::is_same_v<decltype(pow<2>(2m)), decltype(4sq_m)>);