1
0
mirror of https://github.com/exaloop/codon.git synced 2025-06-03 15:03:52 +08:00
codon/test/sir/test.h
A. R. Shajii 007eaa29de Refactor
2021-10-10 19:41:52 -04:00

18 lines
462 B
C++

#include <algorithm>
#include "codon/sir/sir.h"
#include "codon/sir/util/cloning.h"
#include "gtest/gtest.h"
class SIRCoreTest : public testing::Test {
protected:
std::unique_ptr<codon::ir::Module> module;
std::unique_ptr<codon::ir::util::CloneVisitor> cv;
void SetUp() override {
codon::ir::IdMixin::resetId();
module = std::make_unique<codon::ir::Module>("test");
cv = std::make_unique<codon::ir::util::CloneVisitor>(module.get());
}
};