Opened 12 years ago

Closed 12 years ago

#470 closed defect (fixed)

avoid using test::Suite::equal when comparing with value from file

Reported by: Peter Owned by: Peter
Priority: minor Milestone: yat 0.5
Component: test Version: trunk
Keywords: Cc:

Description

This is taken from #223. Markus's point about how to treat comparisons between a value from a file and calculated value somehow was forgotten. The precision is pretty much set by the format in the file (how many decimals), so it not very clever to let the precision scale with epsilon().

Change History (11)

comment:1 Changed 12 years ago by Peter

(In [1658]) Adding functions to use for fix precision comparisons (refs #470)

comment:2 Changed 12 years ago by Peter

(In [1665]) refs #470: distance_test

comment:3 Changed 12 years ago by Peter

(In [1666]) refs #470: interpolation_test

comment:4 Changed 12 years ago by Peter

(In [1667]) refs #470: knn_test

comment:5 Changed 12 years ago by Peter

(In [1668]) refs #470: ncc_test

comment:6 Changed 12 years ago by Peter

Status: newassigned

comment:7 Changed 12 years ago by Peter

(In [1669]) refs #470: nni_test

comment:8 Changed 12 years ago by Peter

(In [1670]) refs #470: regression_test

comment:9 Changed 12 years ago by Peter

(In [1671]) refs #470: statistics_test

comment:10 Changed 12 years ago by Peter

(In [1672]) refs #470: svm_test

comment:11 Changed 12 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [1675]) adding section on test::Suite::equal* functions. closes #470

Note: See TracTickets for help on using tickets.