Convert TimeZoneRuleTests to xUnit

This commit is contained in:
TSR Berry 2023-07-08 20:14:33 +02:00
parent f0441bf28b
commit 678c32e515
No known key found for this signature in database
GPG key ID: 52353C0A4CCA15E2

View file

@ -1,18 +1,15 @@
using NUnit.Framework;
using Ryujinx.HLE.HOS.Services.Time.TimeZone; using Ryujinx.HLE.HOS.Services.Time.TimeZone;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using Xunit;
namespace Ryujinx.Tests.Time namespace Ryujinx.Tests.Time
{ {
internal class TimeZoneRuleTests public class TimeZoneRuleTests
{ {
class EffectInfoParameterTests [Fact]
public void EnsureTypeSize()
{ {
[Test] Assert.Equal(0x4000, Unsafe.SizeOf<TimeZoneRule>());
public void EnsureTypeSize()
{
Assert.AreEqual(0x4000, Unsafe.SizeOf<TimeZoneRule>());
}
} }
} }
} }