Mercurial > repos > IBBoard.NUnit
view Does.cs @ 1:4dad6872ca5a
Re #46: Add NUnit helper methods
* First import of project
* Add initial "Array contains" constraint to match Hamcrest "contains()" method
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 21 Aug 2010 14:24:27 +0000 |
parents | |
children |
line wrap: on
line source
// This file (Does.cs) is a part of the IBBoard.NUnit project and is copyright 2010 IBBoard // // The file and the library/program it is in are licensed and distributed, without warranty, under the GNU LGPL, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. using System; using IBBoard.NUnit.Constraints; namespace IBBoard.NUnit { public class Does { public static ArrayContainsConstraint<T> ArrayContain<T>(params T[] objs) { return new ArrayContainsConstraint<T>(objs); } } }