File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
2826using Microsoft . VisualStudio . TestTools . UnitTesting ;
2927using NodaTime ;
3028using Point85 . ShiftSharp . Schedule ;
29+ using System ;
30+ using System . Collections . Generic ;
3131
3232namespace 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 ) ;
Original file line number Diff line number Diff line change 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" />
You can’t perform that action at this time.
0 commit comments