score:2

Accepted answer

BackLINQ (http://www.raboof.com/Projects/BackLINQ/) is a project which implements a number of LINQ operations against .NET 2.0. The project is open source and they have posted the source code for their unit tests (http://backlinq.googlecode.com/svn/trunk/test/BackLINQ.Tests/EnumerableFixture.cs). You may be able to adapt these tests for your needs.

There is also a CodePlex hosted project called 'A custom implementation of the .NET Standard Query Operators from LINQ' (http://linqsqo.codeplex.com/), which includes the source for a similar test suite.

score:0

You may be looking for Jon Skeet's EduLINQ.

Note that he's writinga LINQ to Objects implementation; some of his tests will not be applicable to DB-based implementations.


Related Articles