| 23 | #include <gtest/gtest.h> |
| 24 | |
| 25 | TEST(ModulePhaseTest, saturate) |
| 26 | { |
| 27 | auto m = luci::make_module(); |
| 28 | auto g = loco::make_graph(); |
| 29 | m->add(std::move(g)); |
| 30 | |
| 31 | luci::Phase phase; |
| 32 | |
| 33 | // Any Pass will do for testing |
| 34 | phase.emplace_back(std::make_unique<luci::CircleShapeInferencePass>()); |
| 35 | |
| 36 | luci::PhaseRunner<logo::PhaseStrategy::Saturate> phase_runner{m.get()}; |
| 37 | phase_runner.run(phase); |
| 38 | |
| 39 | SUCCEED(); |
| 40 | } |
| 41 | |
| 42 | TEST(ModulePhaseTest, restart) |
| 43 | { |
nothing calls this directly
no test coverage detected