World's simplest unit testing :)
Got the beginnings of a unit test suite here.
Added emulation of SD-6 feature detection macros for MSVC.