MCPcopy Create free account
hub / github.com/AnswerDotAI/gpu.cpp / printResult

Function printResult

numeric_types/half.cpp:24–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void printResult(bool passed, const char *message, float input, float output) {
25 if (passed) {
26 printf("[" COLOR_GREEN "PASSED" COLOR_RESET "]"
27 " : %s (in: %.10f, out: %.10f)\n",
28 message, input, output);
29 } else {
30 printf("[" COLOR_RED "FAILED" COLOR_RESET "]"
31 " : %s (in: %.10f, out: %.10f)\n",
32 message, input, output);
33 }
34}
35
36void printResult(bool passed, const char *message, float input,
37 uint16_t output) {

Callers 3

testRoundTripFunction · 0.85
testSpecialCasesFunction · 0.85
testContainersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected