test is no longer needed

This commit is contained in:
Barry Warsaw 1997-01-16 00:13:11 +00:00
parent 52a6ea7b7d
commit e4d7821ea4
2 changed files with 0 additions and 32 deletions

View file

@ -1,5 +0,0 @@
test_xdr
_xdr.pack_float()
_xdr.unpack_float()
_xdr.pack_double()
_xdr.unpack_double()

View file

@ -1,27 +0,0 @@
from test_support import verbose
import _xdr
fd = 8.01
print '_xdr.pack_float()'
s = _xdr.pack_float(fd)
if verbose:
print `s`
print '_xdr.unpack_float()'
f = _xdr.unpack_float(s)
if verbose:
print f
if int(100*f) <> int(100*fd):
print 'pack_float() <> unpack_float()'
fd = 9900000.9
print '_xdr.pack_double()'
s = _xdr.pack_double(fd)
if verbose:
print `s`
print '_xdr.unpack_double()'
f = _xdr.unpack_double(s)
if verbose:
print f
if int(100*f) <> int(100*fd):
print 'pack_double() <> unpack_double()'