def testStuff(self):
     #print self._rdXyResolution
     startPoint = arcpy.Point(459835.1, 4192564.56)
     endPoint = arcpy.Point(460357.8, 4192102.6)
     checkroadtester1 = CheckRoad(startPoint, endPoint, self._checkRoadInputRoad)
     adjustPointList = checkroadtester1.getAdjustPoints()
     actualXDist = abs(startPoint.X - adjustPointList[0].X)
     actualYDist = abs(startPoint.Y - adjustPointList[0].Y)
     self.assertTrue(abs(startPoint.X - adjustPointList[0].X) < self._rdXyResolution, "start point X compare")        
 def runCheckRoad_getStartAndEndPoint(self):
     startPoint = arcpy.Point(459835.1, 4192564.56)
     endPoint = arcpy.Point(460357.8, 4192102.6)
     checkroadtester2 = CheckRoad(startPoint, endPoint, self.checkRoadInputRoad)
     startAndEndPnts = checkroadtester2._getRoadStartAndEndPoint()
     print "start: {}, {}\nend: {}, {}".format(startAndEndPnts[0].X, startAndEndPnts[0].Y, startAndEndPnts[1].X, startAndEndPnts[1].Y)
 def runCheckRoadAdjustPointsTest(self):
     startPoint = arcpy.Point(459835.1, 4192564.56)
     endPoint = arcpy.Point(460357.8, 4192102.6)
     checkroadtester1 = CheckRoad(startPoint, endPoint, self.checkRoadInputRoad)
     for point in checkroadtester1.getAdjustPoints():
         print point