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

Switch to unified view

a/test/trunk/ooRexx/base/class/CircularQueue.testGroup b/test/trunk/ooRexx/base/class/CircularQueue.testGroup
1
#!/usr/bin/rexx
1
#!/usr/bin/rexx
2
/*
2
/*
3
  SVN Revision: $Rev: 9603 $
3
  SVN Revision: $Rev: 9604 $
4
  Change Date:  $Date: 2013-12-02 18:09:02 +0000 (Mon, 02 Dec 2013) $
4
  Change Date:  $Date: 2013-12-02 18:13:05 +0000 (Mon, 02 Dec 2013) $
5
*/
5
*/
6
/*----------------------------------------------------------------------------*/
6
/*----------------------------------------------------------------------------*/
7
/*                                                                            */
7
/*                                                                            */
8
/* Copyright (c) 2006-2007 Rexx Language Association. All rights reserved.    */
8
/* Copyright (c) 2006-2007 Rexx Language Association. All rights reserved.    */
9
/*                                                                            */
9
/*                                                                            */
...
...
778
778
779
  self~assertSame(3, c~size)
779
  self~assertSame(3, c~size)
780
  self~assertSame(3, c~items)
780
  self~assertSame(3, c~items)
781
  self~assertTrue(sameContent(c, .circularqueue~of(1,2,3)))
781
  self~assertTrue(sameContent(c, .circularqueue~of(1,2,3)))
782
782
783
::method test_bug_1183
784
785
  c = .circularqueue~of(1,2,3)
786
  c~insert('a', 2)
787
788
  self~assertSame(3, c~size)
789
  self~assertSame(3, c~items)
790
  self~assertTrue(sameContent(c, .circularqueue~of(1,'a',2)))
783
791
784
/* Test whether both collections contain the same entries.
792
/* Test whether both collections contain the same entries.
785
   returns .true, if the same, .false else
793
   returns .true, if the same, .false else
786
*/
794
*/
787
::routine "sameContent"
795
::routine "sameContent"

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks