MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include <iostream>
#include "moab/Interface.hpp"
#include "Internals.hpp"
#include "moab/ReadUtilIface.hpp"
#include "moab/Core.hpp"
#include "moab/Range.hpp"
Go to the source code of this file.
Macros | |
#define | IS_BUILDING_MB |
#define | CHKERR(A) |
#define | RUN_TEST(A) _run_test( ( A ), #A ) |
Typedefs | |
typedef ErrorCode(* | TestFunc) () |
Functions | |
ErrorCode | gather_related_test () |
static void | _run_test (TestFunc func, const char *func_str) |
int | main (int, char **) |
Variables | |
int | number_tests = 0 |
int | number_tests_failed = 0 |
#define CHKERR | ( | A | ) |
Definition at line 13 of file readutil_test.cpp.
#define IS_BUILDING_MB |
Definition at line 4 of file readutil_test.cpp.
#define RUN_TEST | ( | A | ) | _run_test( ( A ), #A ) |
Definition at line 63 of file readutil_test.cpp.
typedef ErrorCode( * TestFunc) () |
Definition at line 65 of file readutil_test.cpp.
|
static |
Definition at line 66 of file readutil_test.cpp.
References moab::error(), ErrorCode, MB_SUCCESS, number_tests, and number_tests_failed.
ErrorCode gather_related_test | ( | ) |
Definition at line 23 of file readutil_test.cpp.
References moab::Core::add_parent_child(), moab::Range::begin(), CHKERR, moab::Core::create_meshset(), moab::E, ErrorCode, moab::ReadUtilIface::gather_related_ents(), moab::Range::insert(), mb, MB_SUCCESS, MESHSET_SET, and moab::Range::size().
Referenced by main().
int main | ( | int | , |
char ** | |||
) |
Definition at line 89 of file readutil_test.cpp.
References gather_related_test(), number_tests, number_tests_failed, and RUN_TEST.
int number_tests = 0 |
Definition at line 61 of file readutil_test.cpp.
Referenced by _run_test(), and main().
int number_tests_failed = 0 |
Definition at line 62 of file readutil_test.cpp.
Referenced by _run_test(), and main().