package Ġcom . ep am . br n . integration . service . statistic . requirements . impl Ċ Ċ import Ġcom . ep am . br n . dto . statistic . Status Requirements Ċ import Ġcom . ep am . br n . dto . statistic . User Ex erc ising Period Ċ import Ġcom . ep am . br n . dto . statistic . User Ex erc ising Progress Status Ċ import Ġcom . ep am . br n . integration . Base IT Ċ import Ġcom . ep am . br n . service . statistic . progress . status . requirements . impl . Status Requirements ManagerImpl Ċ import Ġorg . junit . jupiter . api . Test Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġkotlin . test . assertEquals Ċ Ċ /** Ċ Ġ*@ author ĠNik ol ai ĠL az are v Ċ Ġ*/ Ċ Ċ class ĠStatus Requirements ManagerImpl IT Ġ: ĠBase IT () Ġ{ ĊĊĠĠĠ Ġ@ Autowired ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġmanager : ĠStatus Requirements ManagerImpl ĊĊĠĠĠ Ġprivate Ġval Ġperiod Requirements Week Ġ= ĠlistOf ( ĊĠĠĠĠĠĠĠ ĠStatus Requirements ( User Ex erc ising Progress Status . BAD , Ġ 0 , Ġ 5 ), ĊĠĠĠĠĠĠĠ ĠStatus Requirements ( User Ex erc ising Progress Status . GO OD , Ġ 5 , Ġ 6 ), ĊĠĠĠĠĠĠĠ ĠStatus Requirements ( User Ex erc ising Progress Status . GRE AT , Ġ 6 , Ġ 8 ) ĊĠĠĠ Ġ) ĊĊĠĠĠ Ġprivate Ġval Ġperiod Requirements Day Ġ= ĠlistOf ( ĊĠĠĠĠĠĠĠ ĠStatus Requirements ( User Ex erc ising Progress Status . BAD , Ġ 0 , Ġ 1 5 ), ĊĠĠĠĠĠĠĠ ĠStatus Requirements ( User Ex erc ising Progress Status . GO OD , Ġ 1 5 , Ġ 2 0 ), ĊĠĠĠĠĠĠĠ ĠStatus Requirements ( User Ex erc ising Progress Status . GRE AT , Ġ 2 0 , Ġ 6 0 Ġ* Ġ 2 4 ) ĊĠĠĠ Ġ) ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` get Period Requirements Ġshould Ġreturn Ġall Ġrequirements Ġfor ĠW EEK Ġperiod `() Ġ{ ĊĠĠĠĠĠĠĠ Ġ// ĠWHEN ĊĠĠĠĠĠĠĠ Ġval Ġperiod Requirements Ġ= Ġmanager . get Period Requirements ( User Ex erc ising Period . WEEK ) ĊĊĠĠĠĠĠĠĠ Ġ// ĠTHEN ĊĠĠĠĠĠĠĠ ĠassertEquals ( period Requirements Week , Ġperiod Requirements ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` get Period Requirements Ġshould Ġreturn Ġall Ġrequirements Ġfor ĠDAY Ġperiod `() Ġ{ ĊĠĠĠĠĠĠĠ Ġ// ĠWHEN ĊĠĠĠĠĠĠĠ Ġval Ġperiod Requirements Ġ= Ġmanager . get Period Requirements ( User Ex erc ising Period . DAY ) ĊĊĠĠĠĠĠĠĠ Ġ// ĠTHEN ĊĠĠĠĠĠĠĠ ĠassertEquals ( period Requirements Day , Ġperiod Requirements ) ĊĠĠĠ Ġ} Ċ } Ċ