From 146db5f6ef77890c0238edea704057f8d1dc5a6e Mon Sep 17 00:00:00 2001 From: Max Wash Date: Tue, 3 Feb 2026 17:41:34 +0000 Subject: [PATCH] test: add core-mm tests --- test/core-mm/streams.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/core-mm/streams.cpp diff --git a/test/core-mm/streams.cpp b/test/core-mm/streams.cpp new file mode 100644 index 0000000..697358a --- /dev/null +++ b/test/core-mm/streams.cpp @@ -0,0 +1,18 @@ +#include +#include +#include + +using namespace blue::core; + +int main(void) +{ + stream &out = stream::out(); + out.write_fmt("Hello, %d\n", 32); + + stringstream s; + s.write_fmt("Hello, %d\n", 64); + + std::cout << s.get_ptr(); + + return 0; +}