Nice/src/nice/tools/visibility tests.nice,1.1,1.2

Daniel Bonniot <[email protected]>
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
Update of /cvsroot/nice/Nice/src/nice/tools/visibility
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1075/src/nice/tools/visibility

Modified Files:
	tests.nice 
Log Message:
Added unit test for remove.


Index: tests.nice
===================================================================
RCS file: /cvsroot/nice/Nice/src/nice/tools/visibility/tests.nice,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tests.nice	6 Mar 2005 12:55:56 -0000	1.1
--- tests.nice	6 Mar 2005 13:28:11 -0000	1.2
***************
*** 38,41 ****
--- 38,45 ----
    res = s.get("a");
    assert res.size == 2 && res.contains('b') && res.contains('c');
+ 
+   s.remove("a", 'b');
+   res = s.get("a");
+   assert res.size == 1 && res[0] == 'c';
  }
  



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.