| 84 | std::make_tuple("8", 8))); |
| 85 | |
| 86 | TEST(SlackTest, TestFailWithoutInit) { |
| 87 | GrapplerItem item; |
| 88 | Slack optimizer; |
| 89 | GraphDef output; |
| 90 | Status result = optimizer.Optimize(nullptr, item, &output); |
| 91 | |
| 92 | EXPECT_FALSE(result.ok()); |
| 93 | EXPECT_TRUE(errors::IsInvalidArgument(result)); |
| 94 | } |
| 95 | |
| 96 | TEST(SlackTest, TestFailWithInvalidSlackEveryParam) { |
| 97 | GrapplerItem item; |
nothing calls this directly
no test coverage detected