<s> from __future__ import absolute_import , print_function , division <EOL> import theano <EOL> import theano . tensor as T <EOL> import unittest <EOL> class test_FutureDiv ( unittest . TestCase ) : <EOL> def test_divide_floats ( self ) : <EOL> a = T . dscalar ( '<STR_LIT:a>' ) <EOL> b = T . dscalar ( '<STR_LIT:b>' ) <EOL> c = theano . function ( [ a , b ] , b / a ) <EOL> d = theano . function ( [ a , b ] , b // a ) <EOL> assert c ( <NUM_LIT:6> , <NUM_LIT:3> ) == <NUM_LIT:0.5> <EOL> assert d ( <NUM_LIT:6> , <NUM_LIT:3> ) == <NUM_LIT:0.0> </s>
