PathTests.TestPathDressupDogbone.TestDressupDogbone Class Reference

Public Member Functions

def formatBone (self, bone)
def test00 (self)
def test01 (self)
def test02 (self)
def test03 (self)
def test04 (self)
def test05 (self)
- Public Member Functions inherited from PathTests.PathTestUtils.PathTestBase
def assertArc (self, edge, pt1, pt2, direction="CW")
def assertCircle (self, edge, pt, r)
def assertCoincide (self, pt1, pt2, error=0.0001)
def assertCommandEqual (self, c1, c2)
def assertConeAt (self, solid, pt, r1, r2, h)
def assertCurve (self, edge, p1, p2, p3)
def assertCylinderAt (self, solid, pt, r, h)
def assertEdgeShapesMatch (self, e1, e2)
def assertEqualLocale (self, s1, s2)
def assertLine (self, edge, pt1, pt2)
def assertLines (self, edgs, tail, points)
def assertPlacement (self, p1, p2)
def assertPointsMatch (self, pts0, pts1)
def assertRoughly (self, f1, f2, error=0.00001)

Detailed Description

Unit tests for the Dogbone dressup.

Member Function Documentation

◆ formatBone()

◆ test00()

◆ test01()

def PathTests.TestPathDressupDogbone.TestDressupDogbone.test01 (   self)
Verify bones are inserted if hole ends with rapid move out.

References PathTests.TestPathDressupDogbone.TestDressupDogbone.formatBone().

◆ test02()

def PathTests.TestPathDressupDogbone.TestDressupDogbone.test02 (   self)
Verify bones are correctly generated for a Profile.

◆ test03()

def PathTests.TestPathDressupDogbone.TestDressupDogbone.test03 (   self)
Verify no bone is inserted for straight move interrupted by plunge.

◆ test04()

def PathTests.TestPathDressupDogbone.TestDressupDogbone.test04 (   self)
Verify can handle comments between moves

References PathTests.TestPathDressupDogbone.TestDressupDogbone.formatBone().

◆ test05()

def PathTests.TestPathDressupDogbone.TestDressupDogbone.test05 (   self)
Verify can handle noops between moves

References PathTests.TestPathDressupDogbone.TestDressupDogbone.formatBone().

The documentation for this class was generated from the following file: