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