Fix Canvas negative Height test
This commit is contained in:
parent
04092e9e9f
commit
c9d42873c1
|
@ -49,7 +49,7 @@ namespace Tests
|
|||
Assert.AreEqual (640, c.Width);
|
||||
Assert.AreEqual (480, c.Height);
|
||||
c.Width = 0;
|
||||
c.Height = 0;
|
||||
c.Height = -100;
|
||||
Assert.AreEqual (150, c.Width);
|
||||
Assert.AreEqual (150, c.Height);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue