mirror of
https://github.com/Belphemur/CBZOptimizer.git
synced 2025-12-05 00:12:37 +01:00
feat: load CBR files
This commit is contained in:
@@ -16,12 +16,19 @@ func TestLoadChapter(t *testing.T) {
|
||||
|
||||
testCases := []testCase{
|
||||
{
|
||||
name: "Original Chapter",
|
||||
name: "Original Chapter CBZ",
|
||||
filePath: "../../testdata/Chapter 1.cbz",
|
||||
expectedPages: 16,
|
||||
expectedSeries: "<Series>Boundless Necromancer</Series>",
|
||||
expectedConversion: false,
|
||||
},
|
||||
{
|
||||
name: "Original Chapter CBR",
|
||||
filePath: "../../testdata/Chapter 1.cbr",
|
||||
expectedPages: 16,
|
||||
expectedSeries: "<Series>Boundless Necromancer</Series>",
|
||||
expectedConversion: false,
|
||||
},
|
||||
{
|
||||
name: "Converted Chapter",
|
||||
filePath: "../../testdata/Chapter 10_converted.cbz",
|
||||
|
||||
Reference in New Issue
Block a user