public void TestParseSuccess() { var warp = new Warp(2) { [0] = new RectangleD(0, 0, -3, 0), [1] = new RectangleD(1000, 500, 3, 4.4) }; Assert.IsTrue(Warp.TryParse(warp.ToString(), out var parsed)); Assert.AreEqual(warp, parsed); }