9 #include <io/CorsikaBlock.h>
10 #include <io/CorsikaIOException.h>
12 #include <cppunit/extensions/HelperMacros.h>
14 #include <tst/Verify.h>
52 CPPUNIT_ASSERT(
fId->
Is(
"TEST"));
53 CPPUNIT_ASSERT(
fId->
Is(
"TEST1"));
54 CPPUNIT_ASSERT(!
fId->
Is(
"TES"));
55 CPPUNIT_ASSERT(!
fId->
Is(
"ABCD"));
CPPUNIT_TEST_SUITE_REGISTRATION(testAiresShowerFile)
Base for exceptions in the CORSIKA reader.
void Expected()
Print `Expected' for expected failures.
run trailer struct for Corsika files
BasicBlock< ParticleData, CherenkovData, kParticlesInBlock, 39 > Block
CPPUNIT_TEST_EXCEPTION(TestIDThrow, io::CorsikaIOException)
io::Corsika::BlockID * fId
CPPUNIT_TEST_SUITE(TestCorsikaBlock)
void SetID(const char *const theID)
set from c-string (for testing)
static const int kBlockSizeParticleData
static const int kBlockSize
This class represents a corsika block. It deals with all the different sub-types of blocks...
bool Is(const char *const theID) const
Compare ID's.
Sub-block used in CORSIKA files.
event trailer struct for Corsika files