public void serialize_status()
        {
            var result = new CellResult("A", ResultStatus.error);

            var json = JsonSerialization.ToJson(result);
            json.ShouldContain("\"status\":\"error\"");
        }
示例#2
0
 protected bool Equals(CellResult other)
 {
     return string.Equals(actual, other.actual) && string.Equals(error, other.error) && string.Equals(cell, other.cell);
 }