debug line

This commit is contained in:
kwikrick 2012-08-21 18:10:52 +00:00
parent b558eeec83
commit 2f11d2e388
2 changed files with 2 additions and 2 deletions

View File

@ -842,7 +842,7 @@ class AngleConstraint(ParametricConstraint):
cmp = self._value
result = tol_eq(ang, cmp)
if result == False:
diag_print("measured angle = "+str(ang)+", parameter value = "+str(cmp), "geometric")
diag_print("measured angle = "+str(ang)+", parameter value = "+str(cmp), "satisfied")
return result
def __str__(self):

View File

@ -789,7 +789,7 @@ def test(problem, use_prototype=True):
check = True
if len(result.solutions) == 0:
check = False
diag_select("GeometricProblem.verify")
diag_select("(GeometricProblem.verify)|(satisfied)")
for sol in result.solutions:
print "solution:",sol
check = check and problem.verify(sol)