|
Ublas : |
Subject: Re: [ublas] fixed size vector in boost::numeric::ublas?
From: Nasos Iliopoulos (nasos_i_at_[hidden])
Date: 2010-08-02 20:27:19
Markus,
I would suggest to make a new test file (fixed_vector_text.cpp or whatever), since the older files (where the vector and matrix classes tests are) do not use a unit testing framework.
Best,Nasos
To: ublas_at_[hidden]
From: grabner_at_[hidden]
Date: Tue, 3 Aug 2010 01:12:52 +0200
Subject: Re: [ublas] fixed size vector in boost::numeric::ublas?
Nasos Iliopoulos wrote:
>
> Markus,As for the unit tests: I would certainly like to write unit tests
> for fixed_vector, but when running "bjam"
> inhttp://svn.boost.org/svn/boost/trunk/libs/numeric/ublas/test, I get
> several compilation errors. Is gcc-4.5 supposed to work with these tests,
> or shall the tests be launched differently?
> If for some reason bjam is not
> working, just make a unit test file using your compiler.
It doesn't seem to be an issue with bjam, but with the compiler itself (bjam
actually invokes the default compiler, which is gcc-4.5 on my system). I
attach the compile log (for libs/numeric/ublas/test in boost-1.43.0) for
those who are able to interpret this stuff...
> I think it does
> not make any important difference for the maintainers (right?). For the
> unit test I'd suggest using the test libary as in those (maybe we will
> need to move to boost.test someday
> though):
> http://svn.boost.org/svn/boost/trunk/libs/numeric/ublas/test/size.cpp
>
http://svn.boost.org/svn/boost/trunk/libs/numeric/ublas/test/test_assignment.cpp
Ok, I'll just try to omit those files which have compiler errors, and add
some tests to the remaining ones. Probably for each test of bounded_vector
there should be a similar one for fixed_vector.
Thanks & kind regards,
Markus
-- Markus Grabner Institute for Computer Graphics and Vision Graz University of Technology, Inffeldgasse 16a/II, 8010 Graz, Austria WWW: http://www.icg.tugraz.at/Members/grabner _______________________________________________ ublas mailing list ublas_at_[hidden] http://lists.boost.org/mailman/listinfo.cgi/ublas Sent to: nasos_i_at_[hidden]