[longomatch] Fix TimeNode intersection test
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix TimeNode intersection test
- Date: Wed, 18 Mar 2015 14:37:15 +0000 (UTC)
commit 52229c7b712d515f85bbc432a1e1926837b5b1e0
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Fri Mar 6 19:22:18 2015 +0100
Fix TimeNode intersection test
Tests/Core/Store/TestTimeNode.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Tests/Core/Store/TestTimeNode.cs b/Tests/Core/Store/TestTimeNode.cs
index 1133d58..f355761 100644
--- a/Tests/Core/Store/TestTimeNode.cs
+++ b/Tests/Core/Store/TestTimeNode.cs
@@ -160,8 +160,8 @@ namespace Tests.Core.Store
tn2.Start = new Time (1500);
tn2.Stop = new Time (2400);
TimeNode tn3 = tn1.Intersect (tn2);
- Assert.AreEqual (1000, tn3.Start.MSeconds);
- Assert.AreEqual (2400, tn3.Start.MSeconds);
+ Assert.AreEqual (1500, tn3.Start.MSeconds);
+ Assert.AreEqual (2000, tn3.Stop.MSeconds);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]