The current test cases are based off of the old C# code, which is known to have bugs. A more accurate solution is to base the values on the output of Ryujinx. This only works well for material animations that don't change over time and have easily observable values like vector and float animations. ssbh_data can force compressed output for constant values like this to generate the appropriate test data. This allows for testing the conversion between compressed bits and floating-point numbers.
[x] add test cases for decompression based on emulator values
The current test cases are based off of the old C# code, which is known to have bugs. A more accurate solution is to base the values on the output of Ryujinx. This only works well for material animations that don't change over time and have easily observable values like vector and float animations. ssbh_data can force compressed output for constant values like this to generate the appropriate test data. This allows for testing the conversion between compressed bits and floating-point numbers.