#include "Check.h"
#include "ProgressReporter.h"
#include "Passes.h"
#include <logo/Pass.h>
#include <logo/Phase.h>
#include <loco.h>
#include <memory>
#include <gtest/gtest.h>
Go to the source code of this file.
◆ EXO_TEST_ASSERT_NODE_COUNT
#define EXO_TEST_ASSERT_NODE_COUNT |
( |
|
OUTPUTS, |
|
|
|
COUNT |
|
) |
| |
Value: { \
ASSERT_EQ(v.size(), (
COUNT)); \
}
std::vector< loco::Node * > postorder_traversal(const std::vector< loco::Node * > &roots)
Generate postorder traversal sequence starting from "roots".
Check the number of nodes in a graph starting from OUTPUTS.
Definition at line 36 of file TestHelper.h.
37 { \
39 ASSERT_EQ(v.size(), (
COUNT)); \
40 }