Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
mx
/
Stack
/
mxStack
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/mx/Stack/mxStack/test.pyc
mò þÔ5;c @ sG d k Z d k Td „ Z d e i j o x e ƒ q, Wn e ƒ d S( N( t *c C sð t ƒ } t | ƒ GHt ƒ } x! t d ƒ D] } | i | ƒ q* Wx | o | i ƒ GqD Wt t d ƒ ƒ } x | o | i ƒ Gqo Wt t d ƒ ƒ } | i ƒ GH| i ƒ GHHd GH| i d ƒ d j p t ‚ d GH| i t d ƒ ƒ | i d ƒ t t d d d d ƒ ƒ j p t ‚ d GHt | ƒ d j p t ‚ | i ƒ d GH| i ƒ t | ƒ d j p t ‚ d GH| i t d ƒ ƒ d } x | o | i ƒ | d } qŽW| d j p t ‚ d GHd f d „ ƒ Y} | ƒ } y | i | ƒ Wn t j o n Xt d ‚ t | ƒ d j p t ‚ ~ d GHt t d ƒ ƒ } x, t d ƒ D] } | | | j p t ‚ qTWx5 t d ƒ D]' } | | d d | j p t ‚ qƒWd } x, | D]$ } | | j p t ‚ | d } q»W~ Hd GHd S( Niè s Pop many.i iç iæ iå s Push many.id i iÿÿÿÿs Resize.i s Clear.s Non-zero testing.s Push many and exceptions.t Cc B s t Z d „ Z d „ Z RS( Nc C s# | d j o | d Sn t ‚ d S( Ni2 i ( t it IndexError( t selfR ( ( t9 /usr/lib/python2.4/site-packages/mx/Stack/mxStack/test.pyt __getitem__3 s c C s d S( Nid ( ( R ( ( R t __len__8 s ( t __name__t __module__R R ( ( ( R R 2 s s, push_many() does not handle errors correctlys Index access.s Works.( iç iæ iå ( t Stackt st reprt rangeR t pusht popt StackFromSequencet as_tuplet as_listt pop_manyt AssertionErrort push_manyt tuplet lent resizet clearR t lR t x( R R R R R ( ( R t test s| 3 % s -mi ( t syst mx.StackR t argv( R R ( ( R t ? s V