Skip to content

Commit

Permalink
added blank lines and removed unnecessary tests
Browse files Browse the repository at this point in the history
  • Loading branch information
georgimanov committed Nov 6, 2016
1 parent 211fcde commit 632f77b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
namespace MoreDotNet.Tests.Extensions.Common.OperatingSystemExtensions
{
using System;

using MoreDotNet.Extensions.Common;

using Xunit;

public class IsWin7OrHigherTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,11 @@
using System;

using MoreDotNet.Extensions.Common;

using Xunit;

public class IsWin8OrHigherTests
{
[Fact]
public void IsWin8OrHigher_VersionIsNull_ShouldThrowArgumentNullException()
{
Assert.Throws<ArgumentNullException>(() => new OperatingSystem(PlatformID.Win32NT, null));
}

[Theory]
[InlineData(-10, 5)]
[InlineData(10, -5)]
public void IsWin8OrHigher_IncorrectWin8Setup_ThrowsArugmentOutOfRange(int major, int minor)
{
Assert.Throws<ArgumentOutOfRangeException>(() => new Version(major, minor));
}

[Fact]
public void IsWin8OrHigher_OperatingSystemIsNull_ShouldThrowArgumentNullException()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;

using MoreDotNet.Extensions.Common;

using Xunit;

public class IsWinVistaOrHigherTests
Expand Down

0 comments on commit 632f77b

Please # to comment.