[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/tests/runtime/System/Collections Tes
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/tests/runtime/System/Collections TestArrayList.cs,1.4,1.5 |
Date: |
Mon, 16 Dec 2002 18:31:06 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/tests/runtime/System/Collections
In directory subversions:/tmp/cvs-serv30777/tests/runtime/System/Collections
Modified Files:
TestArrayList.cs
Log Message:
Temporarily replace quicksort with a dumb sort, so that we have something
that works, until such time that we can figure out what is wrong with the
partitioning code.
Index: TestArrayList.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/tests/runtime/System/Collections/TestArrayList.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** TestArrayList.cs 15 Dec 2002 03:19:44 -0000 1.4
--- TestArrayList.cs 16 Dec 2002 23:31:03 -0000 1.5
***************
*** 133,136 ****
--- 133,145 ----
AssertEquals("Sort (4)", 45, list[1]);
AssertEquals("Sort (5)", 98, list[2]);
+
+ list = new ArrayList();
+ list.Add(97);
+ list.Add(104);
+ list.Add(98);
+ list.Sort();
+ AssertEquals("Sort (6)", 97, list[0]);
+ AssertEquals("Sort (7)", 98, list[1]);
+ AssertEquals("Sort (8)", 104, list[2]);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/tests/runtime/System/Collections TestArrayList.cs,1.4,1.5,
Rhys Weatherley <address@hidden> <=