Home
last modified time | relevance | path

Searched refs:check_conversion_to_int (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_float.py95 def check_conversion_to_int(self, x): member in GeneralFloatCases
124 self.check_conversion_to_int(boundary - epsilon)
125 self.check_conversion_to_int(boundary)
129 self.check_conversion_to_int(-boundary - 2*epsilon)
130 self.check_conversion_to_int(-boundary)
134 self.check_conversion_to_int(-boundary - 1.0)
135 self.check_conversion_to_int(-boundary - 1.0 + 2*epsilon)