Worldstone
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
decoderstests.cpp File Reference

Implementation of the tests for the various file decoders. More...

#include <dcc.h>
#include <doctest.h>

Go to the source code of this file.

Functions

 TEST_CASE ("DCC decoding BaalSpirit.dcc")
 Try to decode BaalSpirit.dcc. More...
 
 TEST_CASE ("DCC decoding CRHDBRVDTHTH.dcc")
 
 TEST_CASE ("DCC decoding BloodSmall01.dcc")
 
 TEST_CASE ("DCC decoding HZTRLITA1HTH.dcc")
 

Detailed Description

Implementation of the tests for the various file decoders.

Definition in file decoderstests.cpp.

Function Documentation

TEST_CASE ( "DCC decoding BaalSpirit.dcc"  )

Try to decode BaalSpirit.dcc.

This is the DCC file with the biggest number of frames (but only 1 direction).

See Also
WorldStone::DCC

Definition at line 16 of file decoderstests.cpp.

TEST_CASE ( "DCC decoding CRHDBRVDTHTH.dcc"  )

See Also
WorldStone::DCC This test makes sure we test the case where a 0b0000 mask is used for a cell.

Definition at line 57 of file decoderstests.cpp.

TEST_CASE ( "DCC decoding BloodSmall01.dcc"  )

See Also
WorldStone::DCC This test makes sures that we treat the case of the 2nd cell being merged into the 1st one correctly when it has only 1 pixel.

Definition at line 99 of file decoderstests.cpp.

TEST_CASE ( "DCC decoding HZTRLITA1HTH.dcc"  )

See Also
WorldStone::DCC Special has it has a 1bit value for an offset that gives - 1.

Definition at line 140 of file decoderstests.cpp.