Current Path : /usr/local/lib/python2.5/test/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/python2.5/test/test_bisect.pyo |
³ò h”Rc @ s! d d k Z d d k l Z d d k l Z l Z l Z l Z l Z l Z d d k l Z d e i f d „ ƒ YZ d e i f d „ ƒ YZ d d d „ ƒ YZ d d d „ ƒ YZ d d d „ ƒ YZ d e i f d „ ƒ YZ d Z h e d <Z d d „ Z e d j o e d e ƒ n d S( iÿÿÿÿN( t test_support( t bisect_rightt bisect_leftt insort_leftt insort_rightt insortt bisect( t UserListt TestBisectc X B sÒ e Z e g d d f e d g d d f e d g d d f e d g d d f e d d g d d f e d d g d d f e d d g d d f e d d d g d d f e d d d g d d f e d d d g d d f e d d d d g d d f e d d d d g d d f e d d d d g d d f e d d g d d f e d d g d d f e d d g d d f e d d g d d f e d d g d d f e d d d d g d d f e d d d d g d d f e d d d d g d d f e d d d d g d d f e d d d d g d d f e d d d g d d f e d d d g d d f e d d d g d d f e d d d g d d f e d d d g d d f e d d d g d d f e d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e g d d f e d g d d f e d g d d f e d g d d f e d d g d d f e d d g d d f e d d g d d f e d d d g d d f e d d d g d d f e d d d g d d f e d d d d g d d f e d d d d g d d f e d d d d g d d f e d d g d d f e d d g d d f e d d g d d f e d d g d d f e d d g d d f e d d d d g d d f e d d d d g d d f e d d d d g d d f e d d d d g d d f e d d d d g d d f e d d d g d d f e d d d g d d f e d d d g d d f e d d d g d d f e d d d g d d f e d d d g d d f e d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f e d d d d d d d d d d g d d f gN Z d „ Z d d „ Z d „ Z d „ Z d „ Z RS( i i i i i g ø?g @i g @i i c C s\ xU | i D]J \ } } } } | i | | | ƒ | ƒ | i | t | ƒ | ƒ | ƒ q Wd S( N( t precomputedCasest assertEqualR ( t selft funct datat elemt expected( ( s, /usr/local/lib/python2.5/test/test_bisect.pyt test_precomputedZ s i c C sM d d k l } x6t | ƒ D](} g } t | ƒ D] } | | d | d ƒ q4 ~ } | i ƒ | d | d ƒ } t | | ƒ } | t | ƒ j o | i | | | j ƒ n | d j o | i | | d | j ƒ n t | | ƒ } | t | ƒ j o | i | | | j ƒ n | d j o | i | | d | j ƒ q q Wd S( Niÿÿÿÿ( t randrangei i i ( t randomR t xranget sortR t lent failUnlessR ( R t nR t it _[1]t jR R t ip( ( s, /usr/local/lib/python2.5/test/test_bisect.pyt test_random_ s 3 c C s¶ x¯| i D]¤\ } } } } xt d ƒ D]} t t | ƒ | ƒ } xct d d ƒ D]R} t t | ƒ | ƒ } | | | | | ƒ } | i | | j o | j n ƒ | t j o( | | j o | i | | | j ƒ n | t j o, | | j o | i | | d | j ƒ n | t j o( | | j o | i | | | j ƒ n | t j o, | | j o | i | | d | j ƒ n | i | t | t | | ƒ ƒ ƒ qT Wq) Wq Wd S( Ni i i i ( R R t minR R R R R t max( R R R R R t lot hiR ( ( s, /usr/local/lib/python2.5/test/test_bisect.pyt test_optionalSlicingp s&