test: add core-mm tests

This commit is contained in:
2026-02-03 17:41:34 +00:00
parent 13136ecbd6
commit 146db5f6ef

18
test/core-mm/streams.cpp Normal file
View File

@@ -0,0 +1,18 @@
#include <blue/core/stream.hpp>
#include <blue/core/stringstream.hpp>
#include <iostream>
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;
}