Download tests/cpp_wrapper_test.cpp from chibifire/motion-bricks.cpp: direct link, hf CLI and curl.
- Browser
- Download file 326 Bytes
-
https://huggingface.co/chibifire/motion-bricks.cpp/resolve/main/tests/cpp_wrapper_test.cpp
- Command line
-
hf download hf://chibifire/motion-bricks.cpp/tests/cpp_wrapper_test.cpp
-
curl -L -o cpp_wrapper_test.cpp https://huggingface.co/chibifire/motion-bricks.cpp/resolve/main/tests/cpp_wrapper_test.cpp
326 Bytes
| int main() { | |
| motionbricks::runtime_options options; | |
| assert(options.get() != nullptr); | |
| motionbricks::runtime_options moved(std::move(options)); | |
| assert(options.get() == nullptr); | |
| assert(moved.get() != nullptr); | |
| return 0; | |
| } | |