Download build/_deps/catch2-src/projects/SelfTest/UsageTests/ToStringByte.tests.cpp from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 506 Bytes
-
https://huggingface.co/camenduru/thrust/resolve/main/build/_deps/catch2-src/projects/SelfTest/UsageTests/ToStringByte.tests.cpp
- Command line
-
hf download hf://camenduru/thrust/build/_deps/catch2-src/projects/SelfTest/UsageTests/ToStringByte.tests.cpp
-
curl -L -o ToStringByte.tests.cpp https://huggingface.co/camenduru/thrust/resolve/main/build/_deps/catch2-src/projects/SelfTest/UsageTests/ToStringByte.tests.cpp
506 Bytes
| TEST_CASE( "std::byte -> toString", "[toString][byte][approvals]" ) { | |
| using type = std::byte; | |
| REQUIRE( "0" == ::Catch::Detail::stringify( type{ 0 } ) ); | |
| } | |
| TEST_CASE( "std::vector<std::byte> -> toString", "[toString][byte][approvals]" ) { | |
| using type = std::vector<std::byte>; | |
| REQUIRE( "{ 0, 1, 2 }" == ::Catch::Detail::stringify( type{ std::byte{0}, std::byte{1}, std::byte{2} } ) ); | |
| } | |