Add new tests from Juraj
[mono.git] / mcs / class / System / System.Text.RegularExpressions / RegexTest.cs
1 //
2 // assembly:    System_test
3 // namespace:   MonoTests.System.Text.RegularExpressions
4 // file:        RegexTest.cs
5 //
6 // Authors:     
7 //   Juraj Skripsky (juraj@hotfeet.ch)
8 //
9 // (c) 2003 Juraj Skripsky
10
11 using System;
12 using System.Text.RegularExpressions;
13
14 using NUnit.Framework;
15
16 namespace MonoTests.System.Text.RegularExpressions {
17         
18         [TestFixture]
19         public class RegexTest {
20
21                 [Test]
22                 public void Simple () {
23                         char[] c = { (char)32, (char)8212, (char)32 };
24                         string s = new String(c);                       
25                         Assertion.AssertEquals ("char", true, Regex.IsMatch(s, s));
26                 }
27         }
28 }