Diff of /test/trunk/ooRexx/base/class/CircularQueue.testGroup [r9603] .. [r9604]  Maximize  Restore

  Switch to side-by-side view

--- a/test/trunk/ooRexx/base/class/CircularQueue.testGroup
+++ b/test/trunk/ooRexx/base/class/CircularQueue.testGroup
@@ -1,7 +1,7 @@
 #!/usr/bin/rexx
 /*
-  SVN Revision: $Rev: 9603 $
-  Change Date:  $Date: 2013-12-02 18:09:02 +0000 (Mon, 02 Dec 2013) $
+  SVN Revision: $Rev: 9604 $
+  Change Date:  $Date: 2013-12-02 18:13:05 +0000 (Mon, 02 Dec 2013) $
 */
 /*----------------------------------------------------------------------------*/
 /*                                                                            */
@@ -780,6 +780,14 @@
   self~assertSame(3, c~items)
   self~assertTrue(sameContent(c, .circularqueue~of(1,2,3)))
 
+::method test_bug_1183
+
+  c = .circularqueue~of(1,2,3)
+  c~insert('a', 2)
+
+  self~assertSame(3, c~size)
+  self~assertSame(3, c~items)
+  self~assertTrue(sameContent(c, .circularqueue~of(1,'a',2)))
 
 /* Test whether both collections contain the same entries.
    returns .true, if the same, .false else

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks