Skip to content

Commit a469feb

Browse files
committed
[IEnumerable] add tests.
1 parent 3305c6a commit a469feb

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using System.Collections.Generic;
2+
using System.Linq;
3+
using StructLinq.IEnumerable;
4+
5+
namespace StructLinq.Tests
6+
{
7+
public class StructEnumerableFromIEnumerableTests: AbstractEnumerableTests<int,
8+
StructEnumerableFromIEnumerable<int>,
9+
GenericEnumerator<int>>
10+
{
11+
protected override StructEnumerableFromIEnumerable<int> Build(int size)
12+
{
13+
IEnumerable<int> enumerable = Enumerable.Range(0, size).ToArray();
14+
return enumerable.ToStructEnumerable();
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)