mkvtoolnix/tests/unit
Moritz Bunkus e6149128a4 math: add function for converting unsigned integers to signed ones
This should be used for reading signed integers from files where
they're stored in 2's complements (as all modern processors use). In
cases where the unsigned integer is bigger than the maximum signed
integer, static_cast<>ing is an implementation-defined behavior.

The code was adopted from the following answer on Stack Overflow where
they discuss an implementation that avoids such implementation-defined
behavior: https://stackoverflow.com/a/13208789/507077
2017-02-18 19:23:13 +01:00
..
common math: add function for converting unsigned integers to signed ones 2017-02-18 19:23:13 +01:00
data/text Add unit tests for the ebml_converter_c based classes 2012-12-05 22:39:25 +01:00
merge refactor item_selector_c to use boost::optinal, make demuxing_requested const 2017-02-14 10:42:08 +01:00
propedit common EBML: use libEBML's conversion routines to/from UTF-8 instead of own ones 2015-04-25 00:34:08 +02:00
init.cpp all: determine current executable's path at startup 2014-04-20 22:31:08 +02:00
init.h all: determine current executable's path at startup 2014-04-20 22:31:08 +02:00
Rakefile Always build unit tests if gtest is available 2012-08-26 12:36:14 +02:00
util.cpp common: use boost::join() instead of my own implementation 2015-12-31 11:13:41 +01:00
util.h checksums: add MD5 algorithm 2015-01-03 16:54:54 +01:00