Opened 13 years ago

Closed 13 years ago

#389 closed defect (fixed)

failure in matrix_lookup_test

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.5
Component: classifier Version: trunk
Keywords: Cc:

Description

I tried to add a line

suite.add(suite.test_stream(m1));

in matrix_lookup_test.cc in order to check that istream constructor works with output operator (ticket:214). Doing that the test fails with an asertion from function MatrixLookup::validate because one index is not initialized. However, the failure is not in the test added, but further down in the code. Something wrong here. I've commented the code so the test runs through, but look for FIXME in matrix_lookup_test.cc.

I placed this is yat 0.5, but if it turns out to be a bug in class MatrixLookup?, we better fix it in 0.4-stable.

Change History (1)

comment:1 Changed 13 years ago by Peter

Milestone: yat 0.x+yat 0.5
Resolution: fixed
Status: newclosed

(In [1361]) fixing ticket:389 - the problem was in test code

Note: See TracTickets for help on using tickets.