Corrected words in comments of test programs.
This commit is contained in:
parent
fac63fa2e4
commit
c03703d90d
3 changed files with 5 additions and 5 deletions
|
@ -91,7 +91,7 @@ void RunBasicTest()
|
||||||
/* Tests semantics of atomic operations. Also a stress test
|
/* Tests semantics of atomic operations. Also a stress test
|
||||||
* to see if they are really atomic.
|
* to see if they are really atomic.
|
||||||
*
|
*
|
||||||
* Serveral threads adding to the same variable.
|
* Several threads adding to the same variable.
|
||||||
* at the end the value is compared with the expected
|
* at the end the value is compared with the expected
|
||||||
* and with a non-atomic counter.
|
* and with a non-atomic counter.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -75,7 +75,7 @@ main(int argc, char *argv[])
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Clear the rendering surface with the specidfied colour */
|
/* Clear the rendering surface with the specified color */
|
||||||
SDL_SetRenderDrawColor(renderer, 0xFF, 0xFF, 0xFF, 0);
|
SDL_SetRenderDrawColor(renderer, 0xFF, 0xFF, 0xFF, 0);
|
||||||
SDL_RenderClear(renderer);
|
SDL_RenderClear(renderer);
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
DrawChessBoard(renderer);
|
DrawChessBoard(renderer);
|
||||||
|
|
||||||
/* Got everything on redering surface,
|
/* Got everything on rendering surface,
|
||||||
now Update the drawing image on window screen */
|
now Update the drawing image on window screen */
|
||||||
SDL_UpdateWindowSurface(window);
|
SDL_UpdateWindowSurface(window);
|
||||||
|
|
||||||
|
|
|
@ -92,8 +92,8 @@ main(int argc, char *argv[])
|
||||||
RWOP_ERR_QUIT(rwops);
|
RWOP_ERR_QUIT(rwops);
|
||||||
printf("test1 OK\n");
|
printf("test1 OK\n");
|
||||||
|
|
||||||
/* test 2 : check that inexistant file is not successfully opened/created when required */
|
/* test 2 : check that inexistent file is not successfully opened/created when required */
|
||||||
/* modes : r, r+ implie that file MUST exist
|
/* modes : r, r+ imply that file MUST exist
|
||||||
modes : a, a+, w, w+ checks that it succeeds (file may not exists)
|
modes : a, a+, w, w+ checks that it succeeds (file may not exists)
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue