static inline void m_non_numeric(char key) { switch(key) { case KC_EXIT: { m_backspace(); break; } case KC_D4: { m_clr_displ(); break; } case KC_D7: { m_set_shift(); break; } case KC_ENTER: { m_set_freq(); break; } default: { m_none(key); break; } } }
void tester::test<11>() { BankSelection m_none(0); BankSelection m_all; std::string msg("Empty set does not Include() "); for (size_t i = 0 ; i < foobar_list.size(); ++i){ ensure(msg + foobar_list[i].str(),!m_none.Includes(foobar_list[i])); ensure(msg + wild_list[i].str(),!m_none.Includes(wild_list[i])); } msg= "Wildcard set Include()s "; for (size_t i = 0 ; i < foobar_list.size(); ++i){ ensure(msg + foobar_list[i].str(),m_all.Includes(foobar_list[i])); } }