cond(bool)でif〜else
cond(int)で従来のswitch〜case