public void TestMatch(string s0, int i0, int l0, string r0, bool v0) { FormatLiteral fl = new FormatLiteral(s0, i0, l0); bool v1 = fl.Match(r0); Assert.Equal(v0, v1); }
public void TestCtor(string s0, int i0, int l0, string r1) { FormatLiteral fl = new FormatLiteral(s0, i0, l0); Assert.Equal(r1, fl.Literal); }