mirror of
https://github.com/OpenTrespasser/JurassicParkTrespasser.git
synced 2024-12-18 22:51:56 +00:00
14 lines
264 B
C++
14 lines
264 B
C++
|
#include "common.hpp"
|
||
|
#include "Lib/Groff/FileIO.hpp"
|
||
|
|
||
|
#include "gtest/gtest.h"
|
||
|
|
||
|
TEST(CFileIO, Destructor)
|
||
|
{
|
||
|
//Create several empty objects which are removed immediately
|
||
|
//This shall happen without errors
|
||
|
for (size_t i = 0; i < 5; i++) {
|
||
|
CFileIO object;
|
||
|
}
|
||
|
}
|