mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +00:00
18 lines
467 B
C#
18 lines
467 B
C#
using Xunit;
|
|
|
|
namespace SabreTools.Data.Extensions.Test
|
|
{
|
|
public class XboxExecutableExtensionsTests
|
|
{
|
|
[Theory]
|
|
[InlineData(0x00000000, "0000-000")]
|
|
[InlineData(0x4142000F, "AB-015")]
|
|
[InlineData(0x3132F000, "12-61440")]
|
|
public void ToFormattedXBETitleIDTest(uint value, string expected)
|
|
{
|
|
string actual = value.ToFormattedXBETitleID();
|
|
Assert.Equal(expected, actual);
|
|
}
|
|
}
|
|
}
|