Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 834 Bytes

File metadata and controls

23 lines (16 loc) · 834 Bytes

Tests for SDL2-for-Pascal Units

Goal

These test cases are meant to ensure a basic quality of the SDL2-for-Pascal Units.

Testing Framework

We use the fptest testing framework to perform the testing. For more details on this framework see the README.adoc file.

We modified it:

  • many accompanied files (e. g. demo files) are not shipped (go to fptest to get the full package)
  • it allows for checking of (classic) pointers now
  • we applied a fix to the EpikTimer unit

Writing a test

Just add a test case to sdl2testcases.pas by extending the test classes or add a new test class if suitable.