DataSetTest.hpp 743 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
#ifndef __HEPNOS_TEST_DATASET_H
#define __HEPNOS_TEST_DATASET_H

#include <cppunit/extensions/HelperMacros.h>
#include <hepnos.hpp>

extern hepnos::DataStore* datastore;

class DataSetTest : public CppUnit::TestFixture
{
    CPPUNIT_TEST_SUITE( DataSetTest );
    CPPUNIT_TEST( testFillDataStore );
    CPPUNIT_TEST( testBraketOperator );
    CPPUNIT_TEST( testFind );
    CPPUNIT_TEST( testBeginEnd );
    CPPUNIT_TEST( testCreateRuns );
    CPPUNIT_TEST( testLowerUpperBounds );
    CPPUNIT_TEST_SUITE_END();

    public:

    void setUp();
    void tearDown();

    void testFillDataStore();
    void testBraketOperator();
    void testFind();
    void testBeginEnd();
    void testLowerUpperBounds();
    void testCreateRuns();
};

#endif