RunSetTest.hpp 798 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __HEPNOS_TEST_RUNSET_H
#define __HEPNOS_TEST_RUNSET_H

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

extern hepnos::DataStore* datastore;

class RunSetTest : public CppUnit::TestFixture
{
    CPPUNIT_TEST_SUITE( RunSetTest );
    CPPUNIT_TEST( testFillDataStore );
13
    CPPUNIT_TEST( testBraketOperator );
14
15
16
    CPPUNIT_TEST( testFind );
    CPPUNIT_TEST( testBeginEnd );
    CPPUNIT_TEST( testLowerUpperBounds );
Matthieu Dorier's avatar
Matthieu Dorier committed
17
    CPPUNIT_TEST( testCreateSubRuns );
18
    CPPUNIT_TEST( testAsync );
19
20
21
22
23
24
25
26
    CPPUNIT_TEST_SUITE_END();

    public:

    void setUp();
    void tearDown();

    void testFillDataStore();
27
    void testBraketOperator();
28
29
30
31
    void testFind();
    void testBeginEnd();
    void testLowerUpperBounds();
    void testCreateSubRuns();
32
    void testAsync();
33
34
35
};

#endif