예제 #1
0
        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);
 }