mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +02:00
test: one kind_of
test added to reference tests
This commit is contained in:
@ -256,6 +256,7 @@ static_assert(metre / second != length[metre] / time[second]);
|
||||
static_assert(metre / time[second] == length[metre] / second);
|
||||
static_assert(is_of_type<metre / time[second], decltype(length[metre] / second)>);
|
||||
static_assert(is_of_type<metre / time[second], decltype(length[metre] / time[second])>);
|
||||
static_assert(kind_of<length>[metre] == metre);
|
||||
|
||||
template<auto QS, auto U>
|
||||
concept invalid_unit = !requires { QS[U]; };
|
||||
|
Reference in New Issue
Block a user