e887356385
Added and enhanced XML documentation comments across the codebase, including detailed summaries and parameter descriptions for methods, classes, and constants. Documented all MatroskaConstants. Improved test readability with comments and explicit variable declarations. Made minor formatting and consistency fixes in test files. No functional changes. Updated project cache and binary files to reflect documentation improvements.
34 lines
997 B
C#
34 lines
997 B
C#
// <copyright file="AudioBookFileInfoTests.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace Jellyfin.Naming.Tests.AudioBook
|
|
{
|
|
using Emby.Naming.AudioBook;
|
|
using Xunit;
|
|
|
|
public class AudioBookFileInfoTests
|
|
{
|
|
[Fact]
|
|
public void CompareTo_Same_Success()
|
|
{
|
|
var info = new AudioBookFileInfo(string.Empty, string.Empty);
|
|
Assert.Equal(0, info.CompareTo(info));
|
|
}
|
|
|
|
[Fact]
|
|
public void CompareTo_Null_Success()
|
|
{
|
|
var info = new AudioBookFileInfo(string.Empty, string.Empty);
|
|
Assert.Equal(1, info.CompareTo(null));
|
|
}
|
|
|
|
[Fact]
|
|
public void CompareTo_Empty_Success()
|
|
{
|
|
var info1 = new AudioBookFileInfo(string.Empty, string.Empty);
|
|
var info2 = new AudioBookFileInfo(string.Empty, string.Empty);
|
|
Assert.Equal(0, info1.CompareTo(info2));
|
|
},
|
|
}
|
|
} |