Commit Graph
14 Commits
Author SHA1 Message Date
Clockwork-Muse b3766126c9 Add tests dealing with floating point infinity, NaN (and null).
Commit migrated from https://github.com/dotnet/corefx/commit/9e9d3a24b65426e938cef7851e989018bee0a100
2015-09-17 16:54:11 +09:00
Clockwork-Muse bac3728ec5 Improve Sum floating point overflow tests, add NaN tests.
Commit migrated from https://github.com/dotnet/corefx/commit/348bd1a2e7d0e41e03509ae408b60014d8c11470
2015-09-17 16:54:10 +09:00
Clockwork-Muse a15331e8eb Improve OrderBy/ThenBy tests.
Use explicit ranges instead of boolean check, restrict bounds.
Verify count of items ordered.
Add tests with non-comparable items.


Commit migrated from https://github.com/dotnet/corefx/commit/d5ec9d25dc831ab48bc7eb3cadf5d375e6857257
2015-09-17 16:54:09 +09:00
Clockwork-Muse ac5ac4c87e Clarify "Stable Sort" tests.
Commit migrated from https://github.com/dotnet/corefx/commit/958e9122df2408f93b3dd7e42777a333e89c48e2
2015-09-17 16:54:08 +09:00
Stephen A. Imhoff bf547ac81f Correct Test namespace.
Commit migrated from https://github.com/dotnet/corefx/commit/c9e780fd0d5f8868ba9975616ca895a6a17db79d
2015-09-17 16:54:05 +09:00
Eric Mellino 45d579252b Update Linq.Parallel tests for latest xUnit.
The latest xunit requires that MemberData attributes and their methods
have the same exact signature. I've changed some object[] parameters to
their exact int[] type to account for this behavior change.


Commit migrated from https://github.com/dotnet/corefx/commit/4f5db270924929d9b51a5426db6218d91f454fc0
2015-08-03 12:10:27 -07:00
Stephen Toub 8176e9c803 Merge pull request dotnet/corefx#2305 from Clockwork-Muse/PLINQ_2239
PLINQ - Minor fixes 

Commit migrated from https://github.com/dotnet/corefx/commit/d9ad8dc965d5c1b57eb0942b164953fddaf021a9
2015-07-20 15:17:36 -04:00
Clockwork-Muse c4b82a6b53 Add overflow checking to Average nullable internal aggregation.
Commit migrated from https://github.com/dotnet/corefx/commit/4b55804cdc89e482bd8680fbe04141c9870c9184
2015-07-20 12:05:13 +09:00
Clockwork-Muse 1053bdb68f Remove unused cancelled token check, fix PLINQ version of dotnet/corefx#2239
Commit migrated from https://github.com/dotnet/corefx/commit/0034eef34ce1437b17e3c463cee0a0a34352f615
2015-07-20 12:05:12 +09:00
Clockwork-Muse c3b1d08706 Add preemptive cancellation check for ToArray.
Commit migrated from https://github.com/dotnet/corefx/commit/4dd373d04d60b40f647cd79515f2360244c5df39
2015-07-12 19:03:04 +09:00
Clockwork-Muse e6de1ce75b Parcel out PlinqDelegateExceptions.cs contents, remove.
Update ExchangeTests

Update PlinqModesTests.

Remove file (contents covered more thoroughly by other tests).

Change Union tests to use custom Comparator similar to other set operations.

Add List to sources used for OuterLoop

Change how empty tests are handled.

Add tests for non-comparable types.

Add tests checking for duplicate compared items.

Describe behavior of common range sources

Describe Zip member data functions.

Describe Union member data functions.

Describe OrderBy member data functions

Describe Max/Min member data functions.


Commit migrated from https://github.com/dotnet/corefx/commit/1c3ecb33008d93d47b2e9a42480ebac50821b617
2015-07-11 09:26:58 +09:00
Stephen A. Imhoff f571218e4d Delete ExceptConcatReverseTests.cs
Remove no-longer-needed file (not sure how this escaped)

Commit migrated from https://github.com/dotnet/corefx/commit/94dc2352c7ef69d72e0946ef5a69fbfdb2169019
2015-06-15 21:56:32 +09:00
Clockwork-Muse fdafa7aeb3 Add missing null-argument check to System.Linq.Parallel.Cast().
Add missing null-argument check.
Update tests as necessary.
This makes Cast act the same as the other extension methods, and follow its documented behavior.


Commit migrated from https://github.com/dotnet/corefx/commit/63c1862601662fffd9c601be275e239c612454bb
2015-06-09 19:56:44 +09:00
Clockwork-Muse 6952087b0e Initial cleanup of System.Linq.Parallel test.
Reorganize folders and files.
Update tests to use Theory and MemberData attributes.
Greatly expand source types used.
Add tests against pre-cancelled tokens and exceptions thrown
against output methods.


Commit migrated from https://github.com/dotnet/corefx/commit/6204cf2c3444f5c6aa42b08baaaca5c350dd4317
2015-06-08 07:06:07 +09:00