#NEWLINE# def test_unitxy_ul( ) : #NEWLINE# #INDENT# ( win , unitxy ) = point_window_unitxy ( 245300 , 1000073 , affine ) #NEWLINE# assert ( win == ( ( 30 , 32 ) , ( 38 , 40 ) ) ) #NEWLINE# ( x , y ) = unitxy #NEWLINE# assert ( x > 0.5 ) #NEWLINE# assert ( y < 0.5 )