forked from M-Labs/nac3
1
0
Fork 0
nac3/nac3core/irrt/test/test_core.hpp

12 lines
241 B
C++

#pragma once
#include <test/core.hpp>
#include <irrt/core.hpp>
void test_int_exp() {
BEGIN_TEST();
assert_values_match(125, __nac3_int_exp_impl<int32_t>(5, 3));
assert_values_match(3125, __nac3_int_exp_impl<int32_t>(5, 5));
}