| 83 | } |
| 84 | |
| 85 | void 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 | |
| 103 | void ILTest::TestilClearColour() |
nothing calls this directly
no outgoing calls
no test coverage detected