Adds tests for the book reading feature

This commit is contained in:
BinaryAlley committed 2026-09-02 04:45:51 -07:00
1 parent f7ccdf3d1c
commit 3a3c0c047c
192 files changed
+14104 -342

No files matched your search

@@ -54,11 +54,13 @@ public class UserSettingsResponseTests
itemsPerPage: 25,
shouldIgnoreThePrefixForAlphaPicker: false,
isThemeCachingEnabled: false,
shouldAggregateMetadataWhenMissing: false
shouldAggregateMetadataWhenMissing: false,
shouldRenderPdfAsImages: true,
shouldPreserveBookStyles: true
);
// Act
(Guid sutUserId, bool isPaginationEnabled, int itemsPerPage, bool shouldIgnoreThePrefixForAlphaPicker, bool isThemeCachingEnabled, bool shouldAggregateMetadataWhenMissing) = sut;
(Guid sutUserId, bool isPaginationEnabled, int itemsPerPage, bool shouldIgnoreThePrefixForAlphaPicker, bool isThemeCachingEnabled, bool shouldAggregateMetadataWhenMissing, bool shouldRenderPdfAsImages, bool shouldPreserveBookStyles) = sut;
// Assert
Assert.Equal(sut.UserId, sutUserId);
@@ -67,5 +69,7 @@ public class UserSettingsResponseTests
Assert.Equal(sut.ShouldIgnoreThePrefixForAlphaPicker, shouldIgnoreThePrefixForAlphaPicker);
Assert.Equal(sut.IsThemeCachingEnabled, isThemeCachingEnabled);
Assert.Equal(sut.ShouldAggregateMetadataWhenMissing, shouldAggregateMetadataWhenMissing);
Assert.Equal(sut.ShouldRenderPdfAsImages, shouldRenderPdfAsImages);
Assert.Equal(sut.ShouldPreserveBookStyles, shouldPreserveBookStyles);
}
}