Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated TaskTimeTest

  • Loading branch information...
commit 1810eccc43e3ef5a77acc267be06578d5b2b53fc 1 parent c30166b
gmobydick authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 TestTaskDO/Entities/TaskTimeTest.cs
View
4 TestTaskDO/Entities/TaskTimeTest.cs
@@ -73,12 +73,12 @@ public void WorkTimeTest()
var target = new TaskTime
{
WorkedFrom = DateTime.Parse("2011-07-01 12:00:00"),
- WorkedTo = DateTime.Parse("2011-07-01 12:45:00")
+ WorkedTo = DateTime.Parse("2011-07-02 11:45:00")
};
double actual = target.WorkTime;
- Assert.AreEqual(0.75, actual, "Wrong WorkTime calculation!");
+ Assert.AreEqual(23.75, actual, "Wrong WorkTime calculation!");
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.