owlps/owlps-positioning/tests/input_test.hh
Matteo Cypriani fc1ceb25c7 [Positioning] Add Input & posexcept.{hh,cc}
- 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.
2011-03-16 14:36:19 +01:00

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) ;
}
} ;