summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Core/DSP/DSPAssemblyTest.cpp
AgeCommit message (Collapse)Author
2026-03-23Use more std::span argumentsSintendo
2022-06-14UnitTests: Remove unused include from DSPAssemblyTestPokechu22
2022-06-14UnitTests: Add tests for assembling DSP code to expected binaryPokechu22
We already have the data for this, so this seems like a useful thing to do. However, neither of the new tests currently pass...
2022-06-14UnitTests: Fail DSPAssemblyTest if the assembled code doesn't match the ↵Pokechu22
expected result This reveals that both HermesText and HermesBinary fail. HermesBinary would have failed on master, too, if this had been implemented.
2022-06-14UnitTests: Use fmt::print in DSPAssemblyTestPokechu22
2022-06-14UnitTests: Fix typo in DSPAssemblyTestPokechu22
2022-06-14UnitTests: Use hermes.s as part of an actual testPokechu22
Before, the file just existed as the source code for HermesBinary.cpp, but we can test that things assemble correctly too (compare DSPTestBinary.cpp and DSPTestText.cpp). A bit of jank is needed due to MSVC limitations (see https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2026?view=msvc-170).
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2017-06-30DSPDisassembler: remove unused base_addr parameterMichael Maltese
2017-06-30DSPDisassembler: get rid of double-pass and temp fileMichael Maltese
2017-06-05DSPTool: extract tests into a DSPAssemblyTestMichael Maltese
- Moves all test code from DSPTool into UnitTests/Core/DSPAssemblyTest. - Converts test files (which could only be loaded if they were in the shell's working directory, so basically never) into C++ values. - Enables most of the commented-out tests. - Removes non-deterministic random code test.