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

Function TEST_CASE

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

Source from the content-addressed store, hash-verified

25#include <test.hpp>
26
27TEST_CASE(interpolate_string_simple1)
28{
29 std::string input = "Hello ${w}!";
30 auto s = migraphx::interpolate_string(input, {{"w", "world"}});
31 EXPECT(s == "Hello world!");
32}
33
34TEST_CASE(interpolate_string_simple2)
35{

Callers

nothing calls this directly

Calls 5

interpolate_stringFunction · 0.85
split_stringFunction · 0.85
frontMethod · 0.80
backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected