示例#1
0
    public void ParseInput(string input, string expected)
    {
        var o      = PaperObject.Parse(input, default);
        var actual = o.ToString();

        Assert.Equal(expected, actual);
    }
示例#2
0
    public void FoldTests(string input, int row, string expected)
    {
        var before = PaperObject.Parse(input, default);
        var folded = before.FoldVertically(row);
        var actual = folded.ToString();

        Assert.Equal(expected, actual);
    }