MCPcopy Create free account
hub / github.com/DentonW/DevIL / TestilBindImage

Method TestilBindImage

DevIL/test/UnitTest/ILTest.cpp:85–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void ILTest::TestilBindImage()
86{
87 ILuint MainImage = 0;
88 ilBindImage(MainImage);
89// CPPUNIT_ASSERT(ilGetError() == IL_ILLEGAL_OPERATION);
90
91 ilGenImages(1, &MainImage);
92 ilBindImage(MainImage);
93 CPPUNIT_ASSERT(ilGetError() == IL_NO_ERROR);
94
95 ilDeleteImages(1, &MainImage);
96 CPPUNIT_ASSERT(ilGetError() == IL_NO_ERROR);
97
98 ilBindImage(MainImage);
99// CPPUNIT_ASSERT(ilGetError() == IL_ILLEGAL_OPERATION);
100}
101
102
103void ILTest::TestilClearColour()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected