2 // MD2ManagedTest.cs - NUnit Test Cases for MD2 (RFC1319)
5 // Sebastien Pouliot (sebastien@ximian.com)
7 // (C) 2003 Motus Technologies Inc. (http://www.motus.com)
8 // (C) 2004 Novell (http://www.novell.com)
12 using System.Security.Cryptography;
14 using Mono.Security.Cryptography;
15 using NUnit.Framework;
17 namespace MonoTests.Mono.Security.Cryptography {
20 public class MD2ManagedTest : MD2Test {
25 hash = new MD2Managed ();
28 // this will run ALL tests defined in MD2Test.cs with the MD2Managed implementation
31 public override void Create ()
33 // try creating ourselve using Create
34 HashAlgorithm h = MD2.Create ("MD2Managed");
35 Assert ("MD2Managed", (h is MD2Managed));