package Ġcom . man al ili . ad vent Ċ Ċ import Ġorg . junit . Test Ċ Ċ import Ġorg . junit . Assert .* Ċ import Ġjava . io . File Ċ Ċ class ĠDay 0 3 Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġoverlap Section () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġfile Ġ= ĠFile (" input / day 0 3 sample . txt ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( 4 , ĠDay 0 3 ( file . read Lines ()). overlap Section ()) ĊĠĠĠĠĠĠĠ Ġval Ġfile 2 Ġ= ĠFile (" input / day 0 3 . txt ") ĊĠĠĠĠĠĠĠ Ġprintln ( Day 0 3 ( file 2 . read Lines ()). overlap Section ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġnon Overlap Section (){ ĊĠĠĠĠĠĠĠ Ġval Ġfile Ġ= ĠFile (" input / day 0 3 sample . txt ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( 3 , ĠDay 0 3 ( file . read Lines ()). non Overlap Section ()) ĊĠĠĠĠĠĠĠ Ġval Ġfile 2 Ġ= ĠFile (" input / day 0 3 . txt ") ĊĠĠĠĠĠĠĠ Ġprintln ( Day 0 3 ( file 2 . read Lines ()). non Overlap Section ()) ĊĠĠĠ Ġ} Ċ }