public void TestCardRegionAdd() { var cr = new CardRegion(20, 30, 164, 80); var expected = new CardRegion(20, 30, 100, -6); Assert.AreEqual <CardRegion>(expected, cr.Add(-64, -86)); }
public void TestCardRegionDefaultAdd() { var cr = new CardRegion(); var expected = new CardRegion(0, 0, 3, 4); Assert.AreEqual <CardRegion>(expected, cr.Add(3, 4)); }