Start work on phonebook tool.
This commit is contained in:
12
Test.cc
12
Test.cc
@@ -2,6 +2,7 @@
|
||||
// Created by kyle on 2023-10-09.
|
||||
//
|
||||
|
||||
#include "Exceptions.h"
|
||||
#include "Test.h"
|
||||
|
||||
|
||||
@@ -28,15 +29,4 @@ TestAssert(bool condition, std::string message = "Assertion failed.")
|
||||
}
|
||||
|
||||
|
||||
AssertionFailed::AssertionFailed(std::string message) : msg(message)
|
||||
{
|
||||
}
|
||||
|
||||
char *
|
||||
AssertionFailed::what()
|
||||
{
|
||||
return const_cast<char *>(this->msg.c_str());
|
||||
}
|
||||
|
||||
|
||||
} // namespace klib
|
||||
|
||||
Reference in New Issue
Block a user