mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-20 13:15:12 -04:00
implemented UT project using google test .
This commit is contained in:
parent
9235ac60c1
commit
1f2da14f89
6 changed files with 309 additions and 0 deletions
32
UnitTest/StdAfx.h
Normal file
32
UnitTest/StdAfx.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
/*
|
||||
FinalSun/FinalAlert 2 Mission Editor
|
||||
|
||||
Copyright (C) 1999-2024 Electronic Arts, Inc.
|
||||
Authored by Matthias Wagner
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// stdafx.h : include everything that should be available everywhere in the code
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <iostream>
|
||||
#include <afxwin.h>
|
||||
|
||||
#if !defined(ASSERT)
|
||||
#define ASSERT(x) if (!(x)) throw("assertion failed");
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue