Skip to content

Commit

Permalink
test: one kind_of test added to reference tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Oct 15, 2024
1 parent 21784b1 commit b5ca8c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/static/reference_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]; };
Expand Down

0 comments on commit b5ca8c7

Please sign in to comment.