فهرست منبع

Rename Except and Intersect tests.

Bart De Smet 6 سال پیش
والد
کامیت
cca4b7ec5a

+ 3 - 3
Ix.NET/Source/System.Linq.Async.Tests/System/Linq/Operators/Except.cs

@@ -23,7 +23,7 @@ namespace Tests
         }
 
         [Fact]
-        public async Task Except1()
+        public async Task Except_Simple()
         {
             var xs = new[] { 1, 2, 3 }.ToAsyncEnumerable();
             var ys = new[] { 3, 5, 1, 4 }.ToAsyncEnumerable();
@@ -35,7 +35,7 @@ namespace Tests
         }
 
         [Fact]
-        public async Task Except2()
+        public async Task Except_EqualityComparer()
         {
             var xs = new[] { 1, 2, -3 }.ToAsyncEnumerable();
             var ys = new[] { 3, 5, -1, 4 }.ToAsyncEnumerable();
@@ -47,7 +47,7 @@ namespace Tests
         }
 
         [Fact]
-        public async Task Except3()
+        public async Task Except_SequenceIdentity()
         {
             var xs = new[] { 1, 2, 3 }.ToAsyncEnumerable();
             var ys = new[] { 3, 5, 1, 4 }.ToAsyncEnumerable();

+ 3 - 3
Ix.NET/Source/System.Linq.Async.Tests/System/Linq/Operators/Intersect.cs

@@ -23,7 +23,7 @@ namespace Tests
         }
 
         [Fact]
-        public async Task Intersect1()
+        public async Task Intersect_Simple()
         {
             var xs = new[] { 1, 2, 3 }.ToAsyncEnumerable();
             var ys = new[] { 3, 5, 1, 4 }.ToAsyncEnumerable();
@@ -36,7 +36,7 @@ namespace Tests
         }
 
         [Fact]
-        public async Task Intersect2()
+        public async Task Intersect_EqualityComparer()
         {
             var xs = new[] { 1, 2, -3 }.ToAsyncEnumerable();
             var ys = new[] { 3, 5, -1, 4 }.ToAsyncEnumerable();
@@ -49,7 +49,7 @@ namespace Tests
         }
 
         [Fact]
-        public async Task Intersect3()
+        public async Task Intersect_SequenceIdentity()
         {
             var xs = new[] { 1, 2, 3 }.ToAsyncEnumerable();
             var ys = new[] { 3, 5, 1, 4 }.ToAsyncEnumerable();