-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from pfpack/release/v2.0.0-rc.1.0.1
release/v2.0.0-rc.1.0.1
- Loading branch information
Showing
139 changed files
with
401 additions
and
2,292 deletions.
There are no files selected for viewing
4 changes: 1 addition & 3 deletions
4
src/primitives-linq/Primitives.Linq.Tests/TestData/ObjectTestData.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/primitives-linq/Primitives.Linq.Tests/YieldExtensionsTest/YieldExtensionsTest.Single.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/primitives-linq/Primitives.Linq.Tests/YieldExtensionsTest/YieldExtensionsTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/primitives-linq/Primitives.Linq.Tests/YielderTest/YielderTest.Empty.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/primitives-linq/Primitives.Linq.Tests/YielderTest/YielderTest.Single.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/primitives-linq/Primitives.Linq.Tests/YielderTest/YielderTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/primitives-linq/Primitives.Linq.Tests/YielderTypedTest/YielderTypedTest.Empty.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/primitives-linq/Primitives.Linq.Tests/YielderTypedTest/YielderTypedTest.Single.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/primitives-linq/Primitives.Linq.Tests/YielderTypedTest/YielderTypedTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
#nullable enable | ||
|
||
using System.Collections.Generic; | ||
using System.Collections.Generic; | ||
|
||
namespace System.Linq; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
#nullable enable | ||
|
||
using System.Collections.Generic; | ||
using System.Collections.Generic; | ||
|
||
namespace System.Linq; | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
src/primitives-pipeline/Primitives.Pipeline.Tests/Pipeline.Tests/Pipe.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/primitives-pipeline/Primitives.Pipeline.Tests/Pipeline.Tests/Tests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
#nullable enable | ||
|
||
using System; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
src/primitives-pipeline/Primitives.Pipeline.Tests/PipelineExtensions.Tests/Pipe.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/primitives-pipeline/Primitives.Pipeline.Tests/PipelineExtensions.Tests/Tests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
#nullable enable | ||
|
||
using System; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/primitives-pipeline/Primitives.Pipeline/PipelineExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...ives-predicates/Primitives.Predicates.Tests/PredicateExtensions.Tests/IsNotNullOrEmpty.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...predicates/Primitives.Predicates.Tests/PredicateExtensions.Tests/IsNotNullOrWhiteSpace.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...s-predicates/Primitives.Predicates.Tests/PredicateExtensions.Tests/IsNotNull_Anonymous.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...ates/Primitives.Predicates.Tests/PredicateExtensions.Tests/IsNotNull_NonnullableStruct.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...dicates/Primitives.Predicates.Tests/PredicateExtensions.Tests/IsNotNull_NullableStruct.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...ves-predicates/Primitives.Predicates.Tests/PredicateExtensions.Tests/IsNotNull_RefType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...ives-predicates/Primitives.Predicates.Tests/PredicateExtensions.Tests/IsNotNull_String.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
#nullable enable | ||
|
||
using NUnit.Framework; | ||
using NUnit.Framework; | ||
using PrimeFuncPack.UnitTest; | ||
using System; | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...mitives-predicates/Primitives.Predicates.Tests/PredicateExtensions.Tests/IsNullOrEmpty.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...es-predicates/Primitives.Predicates.Tests/PredicateExtensions.Tests/IsNullOrWhiteSpace.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...ives-predicates/Primitives.Predicates.Tests/PredicateExtensions.Tests/IsNull_Anonymous.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...es-predicates/Primitives.Predicates.Tests/PredicateExtensions.Tests/IsNull_Nonnullable.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...predicates/Primitives.Predicates.Tests/PredicateExtensions.Tests/IsNull_NullableStruct.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...itives-predicates/Primitives.Predicates.Tests/PredicateExtensions.Tests/IsNull_RefType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...mitives-predicates/Primitives.Predicates.Tests/PredicateExtensions.Tests/IsNull_String.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
#nullable enable | ||
|
||
using NUnit.Framework; | ||
using NUnit.Framework; | ||
using PrimeFuncPack.UnitTest; | ||
using System; | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
src/primitives-predicates/Primitives.Predicates.Tests/PredicateExtensions.Tests/Tests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 26 additions & 29 deletions
55
src/primitives-predicates/Primitives.Predicates.Tests/Predicates.Tests/IsNotNullOrEmpty.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,37 @@ | ||
#nullable enable | ||
|
||
using NUnit.Framework; | ||
using NUnit.Framework; | ||
using System; | ||
using static PrimeFuncPack.UnitTest.TestData; | ||
|
||
namespace PrimeFuncPack.Primitives.Tests | ||
namespace PrimeFuncPack.Primitives.Tests; | ||
|
||
partial class PredicatesTests | ||
{ | ||
partial class PredicatesTests | ||
[Test] | ||
public void IsNotNullOrEmpty_SourceIsNull_ExpectFalse() | ||
{ | ||
[Test] | ||
public void IsNotNullOrEmpty_SourceIsNull_ExpectFalse() | ||
{ | ||
string? source = null; | ||
string? source = null; | ||
|
||
var actual = Predicates.IsNotNullOrEmpty(source); | ||
Assert.False(actual); | ||
} | ||
var actual = Predicates.IsNotNullOrEmpty(source); | ||
Assert.False(actual); | ||
} | ||
|
||
[Test] | ||
public void IsNotNullOrEmpty_SourceIsEmpty_ExpectFalse() | ||
{ | ||
string source = string.Empty; | ||
[Test] | ||
public void IsNotNullOrEmpty_SourceIsEmpty_ExpectFalse() | ||
{ | ||
string source = string.Empty; | ||
|
||
var actual = Predicates.IsNotNullOrEmpty(source); | ||
Assert.False(actual); | ||
} | ||
var actual = Predicates.IsNotNullOrEmpty(source); | ||
Assert.False(actual); | ||
} | ||
|
||
[Test] | ||
[TestCase(WhiteSpaceString)] | ||
[TestCase(TabString)] | ||
[TestCase(SomeString)] | ||
public void IsNotNullOrEmpty_SourceIsNotEmpty_ExpectTrue( | ||
string source) | ||
{ | ||
var actual = Predicates.IsNotNullOrEmpty(source); | ||
Assert.True(actual); | ||
} | ||
[Test] | ||
[TestCase(WhiteSpaceString)] | ||
[TestCase(TabString)] | ||
[TestCase(SomeString)] | ||
public void IsNotNullOrEmpty_SourceIsNotEmpty_ExpectTrue( | ||
string source) | ||
{ | ||
var actual = Predicates.IsNotNullOrEmpty(source); | ||
Assert.True(actual); | ||
} | ||
} |
Oops, something went wrong.