Mercurial > repos > IBBoard.NUnit
annotate 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 |
rev | line source |
---|---|
1 | 1 // This file (Does.cs) is a part of the IBBoard.NUnit project and is copyright 2010 IBBoard |
2 // | |
3 // 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. | |
4 using System; | |
5 using IBBoard.NUnit.Constraints; | |
6 namespace IBBoard.NUnit | |
7 { | |
8 public class Does | |
9 { | |
10 public static ArrayContainsConstraint<T> ArrayContain<T>(params T[] objs) | |
11 { | |
12 return new ArrayContainsConstraint<T>(objs); | |
13 } | |
14 } | |
15 } | |
16 |