ó
BwLc           @   si   d  Z  d Z d d l Z d e j f d     YZ i  d  Z e d k re d   Z e j d	 d
  n  d S(   s)   Self-test suite for Crypto.Util.winrandoms   $Id$i˙˙˙˙Nt   WinRandomImportTestc           B   s   e  Z d    Z RS(   c         C   sN   d d l  m } | j   } | j d  } | j d  } |  j | |  d S(   s   winrandom: simple testi˙˙˙˙(   t	   winrandomi   N(   t   Crypto.UtilR   t   newt	   get_bytest   assertNotEqual(   t   selfR   t   randobjt   xt   y(    (    sG   /usr/lib/python2.7/dist-packages/Crypto/SelfTest/Util/test_winrandom.pyt   runTest    s
    (   t   __name__t
   __module__R
   (    (    (    sG   /usr/lib/python2.7/dist-packages/Crypto/SelfTest/Util/test_winrandom.pyR       s   c         C   s
   t    g S(   N(   R    (   t   config(    (    sG   /usr/lib/python2.7/dist-packages/Crypto/SelfTest/Util/test_winrandom.pyt	   get_tests)   s    t   __main__c           C   s   t  j t    S(   N(   t   unittestt	   TestSuiteR   (    (    (    sG   /usr/lib/python2.7/dist-packages/Crypto/SelfTest/Util/test_winrandom.pyt   <lambda>-   s    t   defaultTestt   suite(	   t   __doc__t   __revision__R   t   TestCaseR    R   R   R   t   main(    (    (    sG   /usr/lib/python2.7/dist-packages/Crypto/SelfTest/Util/test_winrandom.pyt   <module>   s   
	