Fix InstrumentSwitch grob definition.
[lilypond.git] / flower / include / yaffut-parameters.hh
blob57429e64baa362c380a7eda4c3e10a75cc71654a
1 #ifndef __YAFFUT_PARAMETERS_H__
2 #define __YAFFUT_PARAMETERS_H__
4 #include "yaffut.hh"
6 #define TEST_PARAMETER(Suite, Case, Type, value) \
7 namespace { \
8 struct Case: public yaffut::Test<Suite, Case>{ \
9 Type parameter_one_; \
10 Case (); \
11 }; \
12 } \
13 template struct yaffut::Test<Suite, Case>; Case::Case () \
14 : Suite (value), parameter_one_ (value)
16 #define TEST_STRING(Suite, Case, String) \
17 TEST_PARAMETER(Suite, Case, std::string, String)
19 #endif // __YAFFUT_PARAMETERS_H__