* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / Mono.Security / Test / Mono.Security.Cryptography / MD4ManagedTest.cs
1 //
2 // MD4ManagedTest.cs - NUnit Test Cases for MD4 (RFC1320)
3 //
4 // Author:
5 //      Sebastien Pouliot (sebastien@ximian.com)
6 //
7 // (C) 2003 Motus Technologies Inc. (http://www.motus.com)
8 // (C) 2004 Novell (http://www.novell.com)
9 //
10
11 using System;
12 using System.Security.Cryptography;
13
14 using NUnit.Framework;
15 using Mono.Security.Cryptography;
16
17 namespace MonoTests.Mono.Security.Cryptography {
18
19         [TestFixture]
20         public class MD4ManagedTest : MD4Test {
21
22                 [SetUp]
23                 public void Setup () 
24                 {
25                         hash = new MD4Managed ();
26                 }
27
28                 // this will run ALL tests defined in MD4Test.cs with the MD4Managed implementation
29                 
30                 [Test]
31                 public override void Create () 
32                 {
33                         // try creating ourselve using Create
34                         HashAlgorithm h = MD4.Create ("MD4Managed");
35                         Assert ("MD4Managed", (h is MD4Managed));
36                 }
37         }
38 }