MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / TEST_CASE

Function TEST_CASE

test/generate.cpp:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25#include "test.hpp"
26
27TEST_CASE(generate)
28{
29 migraphx::shape s{migraphx::shape::float_type, {4, 4, 1, 1}};
30 EXPECT(migraphx::generate_literal(s, 1) == migraphx::generate_argument(s, 1));
31 EXPECT(migraphx::generate_literal(s, 1) != migraphx::generate_argument(s, 0));
32}
33
34TEST_CASE(fill_tuple)
35{

Callers

nothing calls this directly

Calls 5

generate_literalFunction · 0.85
generate_argumentFunction · 0.85
fill_argumentFunction · 0.85
atMethod · 0.80
get_sub_objectsMethod · 0.45

Tested by

no test coverage detected