-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix overload resolution on array.Reverse() * Update packages * Fix indexed item equality comparison (item index was ignored).
- Loading branch information
1 parent
4ef60df
commit f91ab23
Showing
6 changed files
with
47 additions
and
21 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Linq; | ||
|
||
using CodeJam.Collections; | ||
|
||
using NUnit.Framework; | ||
|
||
// ReSharper disable once CheckNamespace | ||
namespace CodeJam | ||
{ | ||
[TestFixture(Category = "Compatibility")] | ||
public static class OverloadResolutionsTests | ||
{ | ||
[Test] | ||
public static void ArrayResolutionTests() | ||
{ | ||
var a = new[] { 1, 2, 3 }; | ||
a.Reverse(); | ||
Assert.AreEqual(a, new[] { 3, 2, 1 }); | ||
} | ||
} | ||
} |
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