scummvm/test
Max Horn 94dfc8f638 Fixed a bug in Common::Array (including a unit test for it), and changed the way the internal storage growth over time.
The bug could result in incorrect results when using push_back (or insert_at)
to insert data from an array into itself if this insertions would cause the
internal array storage to grow. Also added a unit test for this bug.

Furthermore, if the internal storage needs to grow, it will now be resized to the next power of two,
instead of being increased by 32.

svn-id: r40907
2009-05-26 11:28:38 +00:00
..
common Fixed a bug in Common::Array (including a unit test for it), and changed the way the internal storage growth over time. 2009-05-26 11:28:38 +00:00
cxxtest Whoa! Removing trailing spaces. 2009-01-01 15:06:43 +00:00
sound Strip trailing whitespaces in the whole code base. 2009-05-24 15:17:42 +00:00
module.mk Fix running the testsuite when building outside the source tree 2009-03-21 22:11:16 +00:00
README Updated link to CxxTest homepage 2009-05-19 11:22:20 +00:00

This directory contains some unit tests for ScummVM. They are based on
CxxTest <http://cxxtest.com/>, which you can find in the cxxtest
subdirectory, including its manual.

To run the unit tests, simply use "make test".