# $Id$ # # Copyright (C) 2001-2006 greg Landrum and Rational Discovery LLC # # @@ All Rights Reserved @@ # """ unit testing code for the python BitVects """ import unittest from DataStructs import BitVect def feq(v1,v2,tol=1e-4): return abs(v1-v2)