- Adjusted Formatting of tests

- Finished map implementation and unit tests

 TODO: Threading
This commit is contained in:
2025-07-23 12:05:02 -04:00
parent 73333b4c67
commit 5ab2952e83
63 changed files with 2703 additions and 2187 deletions

View File

@@ -921,7 +921,7 @@ bool file::eof() const {
char file::getc() {
assert(_error == nullptr, "Attempted an Operation on a File in an Errored State");
assert(not _mode & fmode_wide, "Attempted Byte Operation on Wide File");
assert(not(_mode & fmode_wide), "Attempted Byte Operation on Wide File");
// Check if there is a file
if (_handle == nullptr) {
@@ -961,7 +961,7 @@ size_t file::read(void* data, size_t size, size_t n) {
string file::getline() {
assert(_error == nullptr, "Attempted an Operation on a File in an Errored State");
assert(not _mode & fmode_wide, "Attempted Byte Operation on Wide File");
assert(not(_mode & fmode_wide), "Attempted Byte Operation on Wide File");
// Check if there is a file
if (_handle == nullptr) {
@@ -1011,7 +1011,7 @@ wstring file::getwline() {
bool file::putc(char c) {
assert(_error == nullptr, "Attempted an Operation on a File in an Errored State");
assert(not _mode & fmode_wide, "Attempted Byte Operation on Wide File");
assert(not(_mode & fmode_wide), "Attempted Byte Operation on Wide File");
// Check if there is a file
if (_handle == nullptr) {