20 lines
426 B
C++
20 lines
426 B
C++
/***
|
|
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>
|
|
|
|
void Aurora::UnitTesting::EndTest(TestResponse response)
|
|
{
|
|
Aurora::RuntimeShutdown();
|
|
exit(ToExitCode(response));
|
|
} |