Skip to content

Commit 05e12b2

Browse files
committed
wip
1 parent e2fb465 commit 05e12b2

3 files changed

Lines changed: 437 additions & 3 deletions

File tree

TestShiftSharp/BaseTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2323
*/
2424

2525

26-
using System;
27-
using System.Collections.Generic;
2826
using Microsoft.VisualStudio.TestTools.UnitTesting;
2927
using NodaTime;
3028
using Point85.ShiftSharp.Schedule;
29+
using System;
30+
using System.Collections.Generic;
3131

3232
namespace TestShiftSharp
3333
{
@@ -67,7 +67,7 @@ private void TestShifts(WorkSchedule ws)
6767
Assert.IsTrue(shift.GetName().Length > 0);
6868
Assert.IsTrue(shift.GetDescription().Length > 0);
6969

70-
Assert.IsTrue(total.Minutes > 0);
70+
Assert.IsTrue(total.TotalMinutes > 0);
7171
Assert.IsTrue(shift.GetBreaks() != null);
7272
Assert.IsTrue(start != null);
7373
Assert.IsTrue(end != null);

TestShiftSharp/TestShiftSharp.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
<ItemGroup>
5454
<Compile Include="BaseTest.cs" />
5555
<Compile Include="Properties\AssemblyInfo.cs" />
56+
<Compile Include="TestSnapSchedule.cs" />
5657
</ItemGroup>
5758
<ItemGroup>
5859
<None Include="packages.config" />

0 commit comments

Comments
 (0)