From 678c32e51597119ce4d1bd85f2f4b18c9276409c Mon Sep 17 00:00:00 2001 From: TSR Berry <20988865+TSRBerry@users.noreply.github.com> Date: Sat, 8 Jul 2023 20:14:33 +0200 Subject: [PATCH] Convert TimeZoneRuleTests to xUnit --- src/Ryujinx.Tests/Time/TimeZoneRuleTests.cs | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/Ryujinx.Tests/Time/TimeZoneRuleTests.cs b/src/Ryujinx.Tests/Time/TimeZoneRuleTests.cs index 8448309ee..f6fdb22c5 100644 --- a/src/Ryujinx.Tests/Time/TimeZoneRuleTests.cs +++ b/src/Ryujinx.Tests/Time/TimeZoneRuleTests.cs @@ -1,18 +1,15 @@ -using NUnit.Framework; using Ryujinx.HLE.HOS.Services.Time.TimeZone; using System.Runtime.CompilerServices; +using Xunit; namespace Ryujinx.Tests.Time { - internal class TimeZoneRuleTests + public class TimeZoneRuleTests { - class EffectInfoParameterTests + [Fact] + public void EnsureTypeSize() { - [Test] - public void EnsureTypeSize() - { - Assert.AreEqual(0x4000, Unsafe.SizeOf()); - } + Assert.Equal(0x4000, Unsafe.SizeOf()); } } }