mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +00:00
18 lines
434 B
C#
18 lines
434 B
C#
using Xunit;
|
|
|
|
namespace SabreTools.Data.Extensions.Test
|
|
{
|
|
public class CFBExtensionsTests
|
|
{
|
|
[Theory]
|
|
[InlineData(null, null)]
|
|
[InlineData(new byte[0], "")]
|
|
// TODO: Create more artifical tests
|
|
public void DecodeStreamNameTest(byte[]? bytes, string? expected)
|
|
{
|
|
string? actual = bytes.DecodeStreamName();
|
|
Assert.Equal(expected, actual);
|
|
}
|
|
}
|
|
}
|