HelloAurora/Tests/Common/test.cpp

20 lines
426 B
C++
Raw Normal View History

2022-02-19 22:25:03 +00:00
/***
Copyright 2020 Reece Wilson (a/k/a "Reece"). All rights reserved.
File: test.cpp
Date: 2020-6-12
Originator: Reece
Purpose: Lightweight and portable unit test abstraction
***/
#include <AuroraCommon.hpp>
#include "test.hpp"
#include <stdlib.h>
#include <AuroraRuntime.hpp>
2022-02-19 22:25:03 +00:00
void Aurora::UnitTesting::EndTest(TestResponse response)
{
Aurora::RuntimeShutdown();
2022-02-19 22:25:03 +00:00
exit(ToExitCode(response));
}