aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Tests/Cpu/CpuTestMisc.cs
diff options
context:
space:
mode:
authorFicture Seven <FICTURE7@gmail.com>2020-04-17 02:19:20 +0400
committerGitHub <noreply@github.com>2020-04-17 08:19:20 +1000
commite4ee61d6c3984d108a9fd9e29c86dd154a04d0c5 (patch)
treea8fc7cdd10b00ae9cc3ff49bd31ea4a1074a4a06 /Ryujinx.Tests/Cpu/CpuTestMisc.cs
parentdfecbbe1f46a10648c754aa5559f60661f2d1189 (diff)
Improve V128 (#1097)
* Improve V128 * Use LayoutKind.Sequential instead * Add As<T>, Get<T> & Set<T> * Fix CpuTest * Rename Get<T> & Set<T> to Extract<T> & Insert<T> * Add XML documentation * Nit
Diffstat (limited to 'Ryujinx.Tests/Cpu/CpuTestMisc.cs')
-rw-r--r--Ryujinx.Tests/Cpu/CpuTestMisc.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Tests/Cpu/CpuTestMisc.cs b/Ryujinx.Tests/Cpu/CpuTestMisc.cs
index 6d2440c1..9b31e68e 100644
--- a/Ryujinx.Tests/Cpu/CpuTestMisc.cs
+++ b/Ryujinx.Tests/Cpu/CpuTestMisc.cs
@@ -190,7 +190,7 @@ namespace Ryujinx.Tests.Cpu
Opcode(0xD65F03C0);
ExecuteOpcodes();
- Assert.That(GetContext().GetV(0).AsFloat(), Is.EqualTo(16f));
+ Assert.That(GetContext().GetV(0).As<float>(), Is.EqualTo(16f));
}
[Explicit]
@@ -236,7 +236,7 @@ namespace Ryujinx.Tests.Cpu
Opcode(0xD65F03C0);
ExecuteOpcodes();
- Assert.That(GetContext().GetV(0).AsDouble(), Is.EqualTo(16d));
+ Assert.That(GetContext().GetV(0).As<double>(), Is.EqualTo(16d));
}
[Test, Ignore("The Tester supports only one return point.")]