IMP Reference Guide
2.6.1
The Integrative Modeling Platform
|
#include <IMP/log_macros.h>
Go to the source code of this file.
Macros | |
#define | IMP_TEST_EQUAL(a, b) |
Report an error if a != b. More... | |
#define | IMP_TEST_GREATER_THAN(a, b) |
Report an error if a < b. More... | |
#define | IMP_TEST_LESS_THAN(a, b) |
Report an error if a >= b. More... | |
#define | IMP_TEST_TRUE(a) |
Report an error if !a. More... | |
Macros for writing C++ tests.
Copyright 2007-2016 IMP Inventors. All rights reserved.
Definition in file test_macros.h.
#define IMP_TEST_EQUAL | ( | a, | |
b | |||
) |
Report an error if a != b.
Definition at line 14 of file test_macros.h.
#define IMP_TEST_GREATER_THAN | ( | a, | |
b | |||
) |
Report an error if a < b.
Definition at line 34 of file test_macros.h.
#define IMP_TEST_LESS_THAN | ( | a, | |
b | |||
) |
Report an error if a >= b.
Definition at line 27 of file test_macros.h.
#define IMP_TEST_TRUE | ( | a | ) |
Report an error if !a.
Definition at line 21 of file test_macros.h.