Build fix in unit test
This commit is contained in:
parent
93d2ad6bd0
commit
da136cd52f
1 changed files with 2 additions and 2 deletions
|
@ -31,13 +31,13 @@ template <typename T> using int_info_2 = dhandy::implem::int_info<T, 2>;
|
||||||
namespace {
|
namespace {
|
||||||
template <typename T, unsigned int Base>
|
template <typename T, unsigned int Base>
|
||||||
void AryConversionTestHelper (const std::string_view& s, T expected) {
|
void AryConversionTestHelper (const std::string_view& s, T expected) {
|
||||||
using AryConversion = dhandy::implem::AryConversion<T, Base, dhandy::ASCIITranslator<char>>;
|
using AryConversion = dhandy::implem::AryConversion<T, Base, dhandy::ASCIITranslator<char>, false>;
|
||||||
CHECK(AryConversion::from_ary(s.data(), s.data() + s.size()) == expected);
|
CHECK(AryConversion::from_ary(s.data(), s.data() + s.size()) == expected);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T, unsigned int Base>
|
template <typename T, unsigned int Base>
|
||||||
void AryConversionTestHelperUp (const std::string_view& s, T expected) {
|
void AryConversionTestHelperUp (const std::string_view& s, T expected) {
|
||||||
using AryConversion = dhandy::implem::AryConversion<T, Base, dhandy::ASCIITranslatorUpcase<char>>;
|
using AryConversion = dhandy::implem::AryConversion<T, Base, dhandy::ASCIITranslatorUpcase<char>, false>;
|
||||||
CHECK(AryConversion::from_ary(s.data(), s.data() + s.size()) == expected);
|
CHECK(AryConversion::from_ary(s.data(), s.data() + s.size()) == expected);
|
||||||
}
|
}
|
||||||
} //unnamed namespace
|
} //unnamed namespace
|
||||||
|
|
Loading…
Reference in a new issue