- Add files posexcept.{hh,cc} that contains exception classes. - Add class Input, that handles InputMedium (and InputLogMedium, in the future). Note that for the moment, the unit test is *very* minimal. - UserInterface: Add options for the input medium and the CSV file.
17 lines
274 B
C++
17 lines
274 B
C++
#include <cxxtest/TestSuite.h>
|
|
|
|
#include "input.hh"
|
|
#include "posexcept.hh"
|
|
|
|
class Input_test: public CxxTest::TestSuite
|
|
{
|
|
public:
|
|
|
|
void test_constructor(void)
|
|
{
|
|
// TODO: test with a mock Configuration?
|
|
TS_ASSERT_THROWS(Input input1, no_input_medium) ;
|
|
}
|
|
|
|
} ;
|