mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 04:11:10 +00:00
Renames project paths from Lumina to Nemera
This commit is contained in:
1 parent
ce6fddb4c9
commit
0f659a4877
6450 files changed
No files matched your search
@@ -0,0 +1,37 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Domain.SharedKernel.Common.Enums.MediaLibrary;
|
||||
using Lumina.Plugins.Pdf.Core;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Plugins.Pdf.UnitTests.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Contains unit tests for the <see cref="PdfReader"/> class.
|
||||
/// </summary>
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class PdfReaderTests
|
||||
{
|
||||
private readonly PdfReader _sut = new();
|
||||
|
||||
[Fact]
|
||||
public void SupportedExtensions_WhenAccessed_ShouldOnlyContainPdf()
|
||||
{
|
||||
// Act
|
||||
IReadOnlyList<string> result = _sut.SupportedExtensions;
|
||||
|
||||
// Assert
|
||||
Assert.Equal([".pdf"], result);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void SupportedLibraryTypes_WhenAccessed_ShouldContainEBookAndBook()
|
||||
{
|
||||
// Act
|
||||
IReadOnlyList<LibraryType> result = _sut.SupportedLibraryTypes;
|
||||
|
||||
// Assert
|
||||
Assert.Equal([LibraryType.EBook, LibraryType.Book], result);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user