UnitTests: Fix typo in DSPAssemblyTest
This commit is contained in:
parent
3cb0976367
commit
dd66dac5c1
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
static bool RoundTrippableDissassemble(const std::vector<u16>& code, std::string& text)
|
static bool RoundTrippableDisassemble(const std::vector<u16>& code, std::string& text)
|
||||||
{
|
{
|
||||||
DSP::AssemblerSettings settings;
|
DSP::AssemblerSettings settings;
|
||||||
settings.ext_separator = '\'';
|
settings.ext_separator = '\'';
|
||||||
|
@ -32,7 +32,7 @@ static bool RoundTrip(const std::vector<u16>& code1)
|
||||||
{
|
{
|
||||||
std::vector<u16> code2;
|
std::vector<u16> code2;
|
||||||
std::string text;
|
std::string text;
|
||||||
if (!RoundTrippableDissassemble(code1, text))
|
if (!RoundTrippableDisassemble(code1, text))
|
||||||
{
|
{
|
||||||
printf("RoundTrip: Disassembly failed.\n");
|
printf("RoundTrip: Disassembly failed.\n");
|
||||||
return false;
|
return false;
|
||||||
|
@ -63,7 +63,7 @@ static bool SuperTrip(const char* asm_code)
|
||||||
}
|
}
|
||||||
printf("First assembly: %i words\n", (int)code1.size());
|
printf("First assembly: %i words\n", (int)code1.size());
|
||||||
|
|
||||||
if (!RoundTrippableDissassemble(code1, text))
|
if (!RoundTrippableDisassemble(code1, text))
|
||||||
{
|
{
|
||||||
printf("SuperTrip: Disassembly failed\n");
|
printf("SuperTrip: Disassembly failed\n");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue