public void XMinLessThanXMaxAndYMinLessThanYMax_IsValid() { Assert.IsTrue(ChartAreaValuesValidator.IsValid(-2, 0, -2, 0)); }
public void AllWrong_IsNotValid() { Assert.IsFalse(ChartAreaValuesValidator.IsValid(99, 0, 99, 0)); }
public void XMinSameAsXMax_IsNotValid() { Assert.IsFalse(ChartAreaValuesValidator.IsValid(22, 22, 111, 222)); }
public void YMinSameAsYMax_IsNotValid() { Assert.IsFalse(ChartAreaValuesValidator.IsValid(1, 2, 222, 222)); }
public void YMinGreaterThanYMax_IsNotValid() { Assert.IsFalse(ChartAreaValuesValidator.IsValid(1, 2, 222, 0)); }
public void XMinGreaterThanXMax_IsNotValid() { Assert.IsFalse(ChartAreaValuesValidator.IsValid(222, 1, 1, 2)); }
public void AllSame_IsNotValid() { Assert.IsFalse(ChartAreaValuesValidator.IsValid(1, 1, 1, 1)); }