Synodic-Software / Soul-Engine

Physically based renderer and simulation engine for real-time applications.
GNU General Public License v3.0
42 stars 24 forks source link

Create Initial Logger Test(s) #86

Closed Behemyth closed 7 years ago

Behemyth commented 7 years ago

The files Utility/Logger.h an Logger.cpp need unit tests to guarantee that they do not fail when a new commit is merged into the project. Our automated system is not set up yet, so you can create new test files and place them in the new folder Test/Logger.

The tests themselves can be as simple as giving the logger a message, and retrieving the message to guarantee that they are the same. Wrap this with an assert so that an exception will be thrown if they are not the same.