Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Ovegard committed Jun 28, 2016
1 parent 900f13c commit d1868d4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions UnitsNet.Tests/CustomCode/DurationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -173,39 +173,39 @@ 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]
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]
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]
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]
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");
}
}
}

4 comments on commit d1868d4

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: CI Build 118 is now running

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: CI Build 119 is now running

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: CI Build 118 outcome was SUCCESS
Summary: Tests passed: 815 Build time: 0:0:32

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: CI Build 119 outcome was SUCCESS
Summary: Tests passed: 815 Build time: 0:0:28

Please sign in to comment.