compare graphs on after serialization

This commit is contained in:
Júlio César Batista 2023-02-18 12:01:11 -03:00
parent 3311bfee47
commit 51764057f1
No known key found for this signature in database
GPG key ID: 10C4B861BF314878

View file

@ -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) {