Skip to content

Commit

Permalink
Arch: add unit test for Pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed May 11, 2020
1 parent e46d7c5 commit 4f8004c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Mod/Arch/TestArch.py
Expand Up @@ -148,6 +148,11 @@ def testEquipment(self):
equip = Arch.makeEquipment(box)
self.failUnless(equip,"Arch Equipment failed")

def testPipe(self):
FreeCAD.Console.PrintLog ('Checking Arch Pipe...\n')
pipe = Arch.makePipe(diameter=120, length=3000)
self.failUnless(pipe,"Arch Pipe failed")

def testAdd(self):
FreeCAD.Console.PrintLog ('Checking Arch Add...\n')
l=Draft.makeLine(FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,0,0))
Expand Down

0 comments on commit 4f8004c

Please sign in to comment.