@@ -80,8 +80,9 @@ public void testExtractParagraphsFromChapterFile_ENG_LRA_377b7e63_ch5() throws I
8080
8181 List <String > storyBookParagraphs = EPubParagraphExtractionHelper .extractParagraphsFromChapterFile (xhtmlFile , Language .ENG );
8282
83- assertEquals (1 , storyBookParagraphs .size ());
84- assertEquals ("What if I try talking to them? The moon slowly moves toward the group of stars." , storyBookParagraphs .get (0 ));
83+ assertEquals (2 , storyBookParagraphs .size ());
84+ assertEquals ("What if I try talking to them?" , storyBookParagraphs .get (0 ));
85+ assertEquals ("The moon slowly moves toward the group of stars." , storyBookParagraphs .get (1 ));
8586 }
8687
8788 @ Test
@@ -93,8 +94,9 @@ public void testExtractParagraphsFromChapterFile_ENG_LRA_377b7e63_ch6() throws I
9394
9495 List <String > storyBookParagraphs = EPubParagraphExtractionHelper .extractParagraphsFromChapterFile (xhtmlFile , Language .ENG );
9596
96- assertEquals (1 , storyBookParagraphs .size ());
97- assertEquals ("Will they play with me? I am so different from them. I should try." , storyBookParagraphs .get (0 ));
97+ assertEquals (2 , storyBookParagraphs .size ());
98+ assertEquals ("Will they play with me? I am so different from them." , storyBookParagraphs .get (0 ));
99+ assertEquals ("I should try." , storyBookParagraphs .get (1 ));
98100 }
99101
100102 @ Test
@@ -244,8 +246,10 @@ public void testExtractParagraphsFromChapterFile_THA_LRA_376896c7_ch9() throws I
244246
245247 List <String > storyBookParagraphs = EPubParagraphExtractionHelper .extractParagraphsFromChapterFile (xhtmlFile , Language .THA );
246248
247- assertEquals (1 , storyBookParagraphs .size ());
248- assertEquals ("คุณ แม่! คุณ แม่! มอง ไป ทาง ไหน มี แต่ คน หนู ชัก สับสน ไม่ รู้ จะ เดิน ตรง ไหน" , storyBookParagraphs .get (0 ));
249+ assertEquals (3 , storyBookParagraphs .size ());
250+ assertEquals ("คุณ แม่! คุณ แม่!" , storyBookParagraphs .get (0 ));
251+ assertEquals ("มอง ไป ทาง ไหน มี แต่ คน" , storyBookParagraphs .get (1 ));
252+ assertEquals ("หนู ชัก สับสน ไม่ รู้ จะ เดิน ตรง ไหน" , storyBookParagraphs .get (2 ));
249253 }
250254
251255 @ Test
@@ -270,8 +274,9 @@ public void testExtractParagraphsFromChapterFile_THA_LRA_c2d75faf_ch8() throws I
270274
271275 List <String > storyBookParagraphs = EPubParagraphExtractionHelper .extractParagraphsFromChapterFile (xhtmlFile , Language .THA );
272276
273- assertEquals (1 , storyBookParagraphs .size ());
274- assertEquals ("“ส่วน นี่ คือ ท่า ตั้ง วง บน” “ทำ ตาม ฉัน นะ”" , storyBookParagraphs .get (0 ));
277+ assertEquals (2 , storyBookParagraphs .size ());
278+ assertEquals ("“ส่วน นี่ คือ ท่า ตั้ง วง บน”" , storyBookParagraphs .get (0 ));
279+ assertEquals ("“ทำ ตาม ฉัน นะ”" , storyBookParagraphs .get (1 ));
275280 }
276281
277282 @ Test
@@ -283,7 +288,8 @@ public void testExtractParagraphsFromChapterFile_VIE_LRA_b46cf9ee_ch2() throws I
283288
284289 List <String > storyBookParagraphs = EPubParagraphExtractionHelper .extractParagraphsFromChapterFile (xhtmlFile , Language .VIE );
285290
286- assertEquals (1 , storyBookParagraphs .size ());
287- assertEquals ("Chó thách Mèo vật nhau Xem thử tay nào thắng" , storyBookParagraphs .get (0 ));
291+ assertEquals (2 , storyBookParagraphs .size ());
292+ assertEquals ("Chó thách Mèo vật nhau" , storyBookParagraphs .get (0 ));
293+ assertEquals ("Xem thử tay nào thắng" , storyBookParagraphs .get (1 ));
288294 }
289295}
0 commit comments