[longomatch] Fix tests
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix tests
- Date: Mon, 7 Jul 2014 11:30:34 +0000 (UTC)
commit 3cda42a037f8b2f7866f3afcfb9b796ab91f2dcb
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Jun 19 14:49:05 2014 +0200
Fix tests
Tests/Core/Drawables/TestDrawable.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Tests/Core/Drawables/TestDrawable.cs b/Tests/Core/Drawables/TestDrawable.cs
index c58fdc9..df06ba3 100644
--- a/Tests/Core/Drawables/TestDrawable.cs
+++ b/Tests/Core/Drawables/TestDrawable.cs
@@ -44,13 +44,13 @@ namespace Tests.Core.Drawables
Color c1, c2;
c1 = new Color (1, 2, 3, 2);
c2 = new Color (1, 5, 6, 3);
- DrawableImp d = new DrawableImp {StrokeColor=c1, StrokeSize=30, FillColor=c2};
+ DrawableImp d = new DrawableImp {StrokeColor=c1, LineWidth=30, FillColor=c2};
Utils.CheckSerialization (d);
Drawable newD = Utils.SerializeDeserialize (d);
Assert.AreEqual (d.FillColor, newD.FillColor);
- Assert.AreEqual (d.StrokeSize, newD.StrokeSize);
+ Assert.AreEqual (d.LineWidth, newD.LineWidth);
Assert.AreEqual (d.StrokeColor, newD.StrokeColor);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]