MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / check_equal

Function check_equal

test/browser/glframebufferattachmentinfo.c:14–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12#include <string.h>
13
14int check_equal(int expected, int actual) {
15 if (expected == actual) {
16 printf("ok\n");
17 return 1;
18 } else {
19 printf("error: expected = %d, actual = %d\n", expected, actual);
20 return 0;
21 }
22}
23
24int main() {
25 EGLDisplay dpy;

Callers 1

mainFunction · 0.85

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected