MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / Main

Function Main

tests/FunctionalCast2Test.cpp:41–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39};
40
41void Main()
42{
43 const MACAddress macA{1, 1, 1, 1, 1, 1};
44 const MACAddress macB{1, 1, 1, 1, 1, 2};
45 const MACAddress macC{1, 1, 1, 1, 1, 1};
46
47 printf("Equal: %d\n", Compare(macA.value, 1));
48 printf("Not equal: %d\n", !Compare(macB.value, 1));
49 printf("---------------\n");
50 printf("Not equal: %d\n",
51 !Compare(macA.value, macB.value));
52 printf("Equal: %d\n",
53 Compare(macA.value, macC.value));
54}
55

Callers

nothing calls this directly

Calls 1

CompareFunction · 0.85

Tested by

no test coverage detected