Skip to content

[test] add file I/O and interoperability tests for tm_ostream#350

Open
akarsh1010 wants to merge 2 commits intoMoganLab:mainfrom
akarsh1010:patch-1
Open

[test] add file I/O and interoperability tests for tm_ostream#350
akarsh1010 wants to merge 2 commits intoMoganLab:mainfrom
akarsh1010:patch-1

Conversation

@akarsh1010
Copy link
Copy Markdown

Fixes #175

Summary

Adds missing test coverage for tm_ostream opened on file,
as requested in Issue #175.

New Test Cases Added

  • tm_ostream opened on file: verifies tm_ostream can write
    to a real file and content is readable back via load_string()
  • tm_ostream file with utf-8 filename: verifies tm_ostream
    works correctly with UTF-8 filenames (e.g. Chinese characters)
  • tm_ostream interoperability with load_string and save_string:
    verifies round-trip between save_string(), tm_ostream, and
    load_string() produces consistent results

Related Issue

Closes #175

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tm_ostream opened with file is not tested

1 participant