MCPcopy Create free account
hub / github.com/anjo76/angelscript / Test

Method Test

sdk/tests/test_feature/source/test_factory.cpp:49–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 void Test(const char *text, signed int x, signed int y, unsigned int z)
50 {
51 if( text == NULL )
52 {
53 m_error = true;
54 return;
55 }
56
57 if( strcmp( text, "testing" ) )
58 {
59 m_error = true;
60 }
61
62 if( x != 50 )
63 {
64 m_error = true;
65 }
66
67 if( y != 50 )
68 {
69 m_error = true;
70 }
71
72 if( z != 255 )
73 {
74 m_error = true;
75 }
76 }
77};
78MyFactory *MyFactory::m_factory = NULL;
79

Callers 1

TestManagerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected