From d1868d409e9a83b7e4c9dbd4f8153aef99fcfe24 Mon Sep 17 00:00:00 2001 From: Erik Ovegard Date: Tue, 28 Jun 2016 08:40:37 +0200 Subject: [PATCH] Fixed typos --- UnitsNet.Tests/CustomCode/DurationTests.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/UnitsNet.Tests/CustomCode/DurationTests.cs b/UnitsNet.Tests/CustomCode/DurationTests.cs index a13591b820..0ae975e379 100644 --- a/UnitsNet.Tests/CustomCode/DurationTests.cs +++ b/UnitsNet.Tests/CustomCode/DurationTests.cs @@ -141,7 +141,7 @@ public static void DurationGreaterThanTimeSpanShouldReturnCorrectly() { TimeSpan timeSpan = TimeSpan.FromHours(11); Duration duration = Duration.FromHours(12); - Assert.IsTrue(duration > timeSpan, "duraiton should be greater than timeSpan"); + Assert.IsTrue(duration > timeSpan, "duration should be greater than timeSpan"); } [Test] @@ -173,7 +173,7 @@ public static void DurationGreaterThanOrEqualTimeSpanShouldReturnCorrectly() { TimeSpan timeSpan = TimeSpan.FromHours(11); Duration duration = Duration.FromHours(12); - Assert.IsTrue(duration >= timeSpan, "duraiton should be greater than timeSpan"); + Assert.IsTrue(duration >= timeSpan, "duration should be greater than timeSpan"); } [Test] @@ -181,7 +181,7 @@ public static void DurationEqualToTimeSpanShouldReturnCorrectly() { TimeSpan timeSpan = TimeSpan.FromHours(11); Duration duration = Duration.FromHours(11); - Assert.IsTrue(duration == timeSpan, "duraiton should equal to timeSpan"); + Assert.IsTrue(duration == timeSpan, "duration should be equal to timeSpan"); } [Test] @@ -189,7 +189,7 @@ public static void TimeSpanEqualToDurationShouldReturnCorrectly() { TimeSpan timeSpan = TimeSpan.FromHours(11); Duration duration = Duration.FromHours(11); - Assert.IsTrue(timeSpan == duration, "timeSpan should equal to duraiton"); + Assert.IsTrue(timeSpan == duration, "timeSpan should be equal to duration"); } [Test] @@ -197,7 +197,7 @@ public static void DurationNotEqualToTimeSpanShouldReturnCorrectly() { TimeSpan timeSpan = TimeSpan.FromHours(12); Duration duration = Duration.FromHours(11); - Assert.IsTrue(duration != timeSpan, "duraiton should equal to timeSpan"); + Assert.IsTrue(duration != timeSpan, "duration should not be equal to timeSpan"); } [Test] @@ -205,7 +205,7 @@ public static void TimeSpanNotEqualToDurationShouldReturnCorrectly() { TimeSpan timeSpan = TimeSpan.FromHours(12); Duration duration = Duration.FromHours(11); - Assert.IsTrue(timeSpan != duration, "timeSpan should equal to duraiton"); + Assert.IsTrue(timeSpan != duration, "timeSpan should not be equal to duration"); } } } \ No newline at end of file