change TCaseData(case) to TCaseData(pattern, seq)