package Ġcz . start net . utils . pg diff Ċ Ċ import Ġio . kot est . matchers . b ooleans . shouldBe False Ċ import Ġio . kot est . matchers . b ooleans . shouldBe True Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ class ĠP g Diff Options Test Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` empty Ġoptions Ġshould Ġaccept Ġany Ġschema `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġoptions Ġ= ĠP g Diff Options () ĊĠĠĠĠĠĠĠ Ġoptions . schema Included (" blah "). shouldBe True () ĊĠĠĠĠĠĠĠ Ġoptions . schema Included (" something Odd Ġ"). shouldBe True () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` a Ġsingle Ġschema Ġinclusion Ġexclude s Ġall Ġothers `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġoptions Ġ= ĠP g Diff Options ( schemas Ġ= ĠlistOf (" hello ")) ĊĠĠĠĠĠĠĠ Ġoptions . schema Included (" hello "). shouldBe True () ĊĠĠĠĠĠĠĠ Ġoptions . schema Included (" helloworld "). shouldBe False () ĊĠĠĠĠĠĠĠ Ġoptions . schema Included (" world hello "). shouldBe False () ĊĠĠĠĠĠĠĠ Ġoptions . schema Included (" moon "). shouldBe False () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` included Ġschemas Ġare Ġalso Ġexcluded `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġoptions Ġ= ĠP g Diff Options ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġschemas Ġ= ĠlistOf (" hello ", Ġ" world "), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġexclude Schemas Ġ= ĠlistOf (" world ") ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġoptions . schema Included (" hello "). shouldBe True () ĊĠĠĠĠĠĠĠ Ġoptions . schema Included (" world "). shouldBe False () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` schema Ġex clusion Ġpattern Ġmatching Ġusing Ġregex `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġoptions Ġ= ĠP g Diff Options ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġexclude Schemas Ġ= ĠlistOf (" fe _. * ") ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġoptions . schema Included (" fe "). shouldBe True () ĊĠĠĠĠĠĠĠ Ġoptions . schema Included (" fe _ beta "). shouldBe False () ĊĠĠĠĠĠĠĠ Ġoptions . schema Included (" bo "). shouldBe True () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` schema Ġinclusion Ġpattern Ġmatching Ġusing Ġregex `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġoptions Ġ= ĠP g Diff Options ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġschemas Ġ= ĠlistOf (" fe _. * ") ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġoptions . schema Included (" fe "). shouldBe False () ĊĠĠĠĠĠĠĠ Ġoptions . schema Included (" fe _ beta "). shouldBe True () ĊĠĠĠĠĠĠĠ Ġoptions . schema Included (" bo "). shouldBe False () ĊĠĠĠ Ġ} Ċ }