def test3(self, inFile):
        print("Test 3: Checking that X and Y range values are reasonable.")
        X_range = np.max(inFile.x) - np.min(inFile.x)
        Y_range = np.max(inFile.y) - np.min(inFile.y)
        err = 0
        if X_range > 2000:
            err += 1
            print("... X range may be unreasonable: " + str(X_range))
            logging.info("X range may be unreasonable: " + str(X_range))
        if Y_range > 2000:
            err += 1
            print("... Y range may be unreasonable: " + str(Y_range))
            logging.info("Y range may be unreasonable: " + str(Y_range))
        if err == 0:
            print("... passed")
        else:
            print("... failed")
            self.errors += 1
        self.tests += 1
dataset/ETHPy150Open grantbrown/laspy/laspy/tools/lasvalidate.py/validate.test3/original