mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
94dfc8f638
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
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".