Skip to content

Commit f3c5004

Browse files
committed
Add unit tests
1 parent fca9110 commit f3c5004

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/xtd.core.unit_tests/src/xtd/io/tests/memory_stream_tests.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ using namespace xtd::tunit;
1010

1111
namespace xtd::io::tests {
1212
class test_class_(memory_stream_tests) {
13+
void test_method_(memory_buffer) {
14+
assert::are_equal(typeof_<std::stringbuf>(), typeof_<memory_stream::memory_buffer>());
15+
}
16+
1317
void test_method_(create_memory_stream) {
1418
auto stream = memory_stream {};
1519
assert::is_true(stream.can_read());

0 commit comments

Comments
 (0)