"docs/en_US/SearchSpaceSpec.md" did not exist on "f1c2b70b4baf7adcd489de88bf001a2e6a4c3599"
Commit d61acc22 authored by Paul's avatar Paul
Browse files

Formatting

parent 92801ac2
......@@ -108,14 +108,15 @@ TEST_CASE(literal_visit_all_mismatch_type)
migraphx::literal x{s1, {1}};
migraphx::shape s2{migraphx::shape::int8_type, {1}};
migraphx::literal y{s2, {1}};
EXPECT(test::throws<migraphx::exception>([&] { migraphx::visit_all(x, y)([&](auto, auto) {}); }));
EXPECT(
test::throws<migraphx::exception>([&] { migraphx::visit_all(x, y)([&](auto, auto) {}); }));
}
TEST_CASE(literal_visit_empty)
{
migraphx::literal x{};
EXPECT(test::throws([&]{ x.visit([](auto){}); }));
EXPECT(test::throws([&]{ x.visit_at([](auto){}); }));
EXPECT(test::throws([&] { x.visit([](auto) {}); }));
EXPECT(test::throws([&] { x.visit_at([](auto) {}); }));
}
int main(int argc, const char* argv[]) { test::run(argc, argv); }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment