compare graphs on after serialization
This commit is contained in:
parent
3311bfee47
commit
51764057f1
1 changed files with 1 additions and 0 deletions
|
|
@ -115,6 +115,7 @@ func serde(t *testing.T, tc testCase, ruler *textmeasure.Ruler) {
|
|||
var newG d2graph.Graph
|
||||
err = d2graph.DeserializeGraph(b, &newG)
|
||||
trequire.Nil(t, err)
|
||||
trequire.Nil(t, g.Compare(&newG))
|
||||
}
|
||||
|
||||
func run(t *testing.T, tc testCase) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue