27 lines
899 B
C
27 lines
899 B
C
/*
|
|
* unit_test_framework.h
|
|
*
|
|
* Created on: Mar 4, 2018
|
|
* Author: Andrey Belomutskiy, (c) 2012-2018
|
|
*/
|
|
|
|
#ifndef UNIT_TEST_FRAMEWORK_H_
|
|
#define UNIT_TEST_FRAMEWORK_H_
|
|
|
|
#include "engine.h"
|
|
#include "gtest/gtest.h"
|
|
#include "gmock/gmock.h"
|
|
|
|
void assertEqualsM2(const char *msg, float expected, float actual, float EPS);
|
|
void assertEqualsM(const char *msg, float expected, float actual);
|
|
void assertEqualsLM(const char *msg, long expected, long actual);
|
|
void assertEqualsM4(const char *prefix, const char *msg, float expected, float actual);
|
|
void assertEqualsM5(const char *prefix, const char *message, float expected, float actual, float EPS);
|
|
void assertEquals(float expected, float actual);
|
|
void assertTrue(float actual);
|
|
void assertTrueM(const char *msg, float actual);
|
|
void assertFalse(float actual);
|
|
void assertFalseM(const char *msg, float actual);
|
|
|
|
#endif /* UNIT_TEST_FRAMEWORK_H_ */
|