package Ġcom . spe ter 9 7 . weather forecast Ċ Ċ import Ġcom . spe ter 9 7 . weather forecast . data . db . data .* Ċ import Ġcom . spe ter 9 7 . weather forecast . ui . forecast . Forecast Fragment Ċ import Ġcom . spe ter 9 7 . weather forecast . ui . forecast . get MinMax Temperature Ċ import Ġcom . spe ter 9 7 . weather forecast . ui . forecast . transform 3 Hours List To 5 Days List Ċ import Ġorg . junit . Test Ċ Ċ import Ġorg . junit . Assert .* Ċ Ċ class ĠUnit Test Of Con verting Methods Ġ{ ĊĠĠĠ Ġvar ĠtestData : ĠList < Future Weather Item > Ġ= ĠlistOf ( ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 8 1 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 6 7 7 6 0 0 , Ġmain = Main ( fe els Like =- 2 . 9 2 , Ġhum idity = 6 6 , Ġpressure = 1 0 2 4 , Ġtemp = 1 . 7 2 , Ġtemp Max = 2 . 4 3 , Ġtemp Min = 1 . 7 2 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 3 . 0 7 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 8 2 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 6 8 8 4 0 0 , Ġmain = Main ( fe els Like =- 4 . 8 , Ġhum idity = 7 5 , Ġpressure = 1 0 2 5 , Ġtemp =- 0 . 3 , Ġtemp Max = 0 . 2 3 , Ġtemp Min =- 0 . 3 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 2 . 8 3 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 8 3 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 6 9 9 2 0 0 , Ġmain = Main ( fe els Like =- 5 . 2 1 , Ġhum idity = 7 9 , Ġpressure = 1 0 2 5 , Ġtemp =- 1 . 2 4 , Ġtemp Max =- 0 . 8 8 , Ġtemp Min =- 1 . 2 4 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 2 . 0 4 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 8 4 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 7 1 0 0 0 0 , Ġmain = Main ( fe els Like =- 5 . 3 2 , Ġhum idity = 7 9 , Ġpressure = 1 0 2 4 , Ġtemp =- 1 . 3 4 , Ġtemp Max =- 1 . 1 6 , Ġtemp Min =- 1 . 3 4 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 2 . 0 3 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 8 5 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 7 2 0 8 0 0 , Ġmain = Main ( fe els Like =- 2 . 3 , Ġhum idity = 6 8 , Ġpressure = 1 0 2 4 , Ġtemp = 1 . 4 9 , Ġtemp Max = 1 . 4 9 , Ġtemp Min = 1 . 4 9 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 1 . 8 8 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 8 6 , Ġclouds = Cloud s ( all = 1 1 ), Ġdt = 1 5 8 5 7 3 1 6 0 0 , Ġmain = Main ( fe els Like = 2 . 2 1 , Ġhum idity = 4 8 , Ġpressure = 1 0 2 2 , Ġtemp = 6 . 0 9 , Ġtemp Max = 6 . 0 9 , Ġtemp Min = 6 . 0 9 ), Ġweather = listOf ( Weather 1 ( main =" Cloud s ")), Ġwind = Wind ( speed = 1 . 9 5 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 8 7 , Ġclouds = Cloud s ( all = 8 ), Ġdt = 1 5 8 5 7 4 2 4 0 0 , Ġmain = Main ( fe els Like = 3 . 9 8 , Ġhum idity = 4 2 , Ġpressure = 1 0 2 1 , Ġtemp = 7 . 8 4 , Ġtemp Max = 7 . 8 4 , Ġtemp Min = 7 . 8 4 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 1 . 9 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 8 8 , Ġclouds = Cloud s ( all = 5 ), Ġdt = 1 5 8 5 7 5 3 2 0 0 , Ġmain = Main ( fe els Like = 4 . 3 5 , Ġhum idity = 4 3 , Ġpressure = 1 0 1 8 , Ġtemp = 7 . 5 9 , Ġtemp Max = 7 . 5 9 , Ġtemp Min = 7 . 5 9 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 1 . 0 3 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 8 9 , Ġclouds = Cloud s ( all = 3 2 ), Ġdt = 1 5 8 5 7 6 4 0 0 0 , Ġmain = Main ( fe els Like = 0 . 9 4 , Ġhum idity = 5 7 , Ġpressure = 1 0 1 9 , Ġtemp = 3 . 6 7 , Ġtemp Max = 3 . 6 7 , Ġtemp Min = 3 . 6 7 ), Ġweather = listOf ( Weather 1 ( main =" Cloud s ")), Ġwind = Wind ( speed = 0 . 3 2 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 9 0 , Ġclouds = Cloud s ( all = 8 ), Ġdt = 1 5 8 5 7 7 4 8 0 0 , Ġmain = Main ( fe els Like =- 1 . 0 8 , Ġhum idity = 6 4 , Ġpressure = 1 0 1 9 , Ġtemp = 2 . 2 3 , Ġtemp Max = 2 . 2 3 , Ġtemp Min = 2 . 2 3 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 1 . 1 7 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 9 1 , Ġclouds = Cloud s ( all = 1 5 ), Ġdt = 1 5 8 5 7 8 5 6 0 0 , Ġmain = Main ( fe els Like =- 2 . 7 , Ġhum idity = 7 1 , Ġpressure = 1 0 1 9 , Ġtemp = 0 . 8 7 , Ġtemp Max = 0 . 8 7 , Ġtemp Min = 0 . 8 7 ), Ġweather = listOf ( Weather 1 ( main =" Cloud s ")), Ġwind = Wind ( speed = 1 . 5 6 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 9 2 , Ġclouds = Cloud s ( all = 4 ), Ġdt = 1 5 8 5 7 9 6 4 0 0 , Ġmain = Main ( fe els Like =- 3 . 7 1 , Ġhum idity = 7 5 , Ġpressure = 1 0 1 9 , Ġtemp = 0 . 1 4 , Ġtemp Max = 0 . 1 4 , Ġtemp Min = 0 . 1 4 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 1 . 9 6 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 9 3 , Ġclouds = Cloud s ( all = 2 ), Ġdt = 1 5 8 5 8 0 7 2 0 0 , Ġmain = Main ( fe els Like =- 1 . 1 2 , Ġhum idity = 6 4 , Ġpressure = 1 0 1 9 , Ġtemp = 2 . 8 6 , Ġtemp Max = 2 . 8 6 , Ġtemp Min = 2 . 8 6 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 2 . 2 4 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 9 4 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 8 1 8 0 0 0 , Ġmain = Main ( fe els Like = 3 . 3 1 , Ġhum idity = 4 7 , Ġpressure = 1 0 1 7 , Ġtemp = 7 . 9 3 , Ġtemp Max = 7 . 9 3 , Ġtemp Min = 7 . 9 3 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 3 . 2 5 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 9 5 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 8 2 8 8 0 0 , Ġmain = Main ( fe els Like = 5 . 1 , Ġhum idity = 4 2 , Ġpressure = 1 0 1 6 , Ġtemp = 1 0 . 0 1 , Ġtemp Max = 1 0 . 0 1 , Ġtemp Min = 1 0 . 0 1 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 3 . 7 3 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 9 7 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 8 5 0 4 0 0 , Ġmain = Main ( fe els Like = 1 . 4 9 , Ġhum idity = 5 9 , Ġpressure = 1 0 1 5 , Ġtemp = 5 . 3 , Ġtemp Max = 5 . 3 , Ġtemp Min = 5 . 3 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 2 . 2 1 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 9 6 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 8 3 9 6 0 0 , Ġmain = Main ( fe els Like = 5 . 2 7 , Ġhum idity = 4 3 , Ġpressure = 1 0 1 4 , Ġtemp = 9 . 8 5 , Ġtemp Max = 9 . 8 5 , Ġtemp Min = 9 . 8 5 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 3 . 2 9 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 9 8 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 8 6 1 2 0 0 , Ġmain = Main ( fe els Like =- 0 . 3 , Ġhum idity = 6 6 , Ġpressure = 1 0 1 5 , Ġtemp = 3 . 7 8 , Ġtemp Max = 3 . 7 8 , Ġtemp Min = 3 . 7 8 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 2 . 6 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 9 9 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 8 7 2 0 0 0 , Ġmain = Main ( fe els Like =- 1 . 8 5 , Ġhum idity = 7 4 , Ġpressure = 1 0 1 5 , Ġtemp = 2 . 4 5 , Ġtemp Max = 2 . 4 5 , Ġtemp Min = 2 . 4 5 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 2 . 9 7 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 0 0 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 8 8 2 8 0 0 , Ġmain = Main ( fe els Like =- 2 . 6 9 , Ġhum idity = 8 0 , Ġpressure = 1 0 1 4 , Ġtemp = 1 . 5 5 , Ġtemp Max = 1 . 5 5 , Ġtemp Min = 1 . 5 5 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 2 . 9 2 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 0 1 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 8 9 3 6 0 0 , Ġmain = Main ( fe els Like =- 0 . 5 , Ġhum idity = 6 8 , Ġpressure = 1 0 1 5 , Ġtemp = 4 . 1 1 , Ġtemp Max = 4 . 1 1 , Ġtemp Min = 4 . 1 1 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 3 . 4 9 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 0 2 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 9 0 4 4 0 0 , Ġmain = Main ( fe els Like = 4 . 7 7 , Ġhum idity = 5 1 , Ġpressure = 1 0 1 4 , Ġtemp = 1 0 . 2 1 , Ġtemp Max = 1 0 . 2 1 , Ġtemp Min = 1 0 . 2 1 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 5 . 0 5 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 0 3 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 9 1 5 2 0 0 , Ġmain = Main ( fe els Like = 7 . 1 , Ġhum idity = 4 6 , Ġpressure = 1 0 1 4 , Ġtemp = 1 2 . 8 4 , Ġtemp Max = 1 2 . 8 4 , Ġtemp Min = 1 2 . 8 4 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 5 . 6 9 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 0 4 , Ġclouds = Cloud s ( all = 2 8 ), Ġdt = 1 5 8 5 9 2 6 0 0 0 , Ġmain = Main ( fe els Like = 8 . 0 6 , Ġhum idity = 4 7 , Ġpressure = 1 0 1 4 , Ġtemp = 1 2 . 9 7 , Ġtemp Max = 1 2 . 9 7 , Ġtemp Min = 1 2 . 9 7 ), Ġweather = listOf ( Weather 1 ( main =" Cloud s ")), Ġwind = Wind ( speed = 4 . 6 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 0 5 , Ġclouds = Cloud s ( all = 4 6 ), Ġdt = 1 5 8 5 9 3 6 8 0 0 , Ġmain = Main ( fe els Like = 4 . 3 9 , Ġhum idity = 6 2 , Ġpressure = 1 0 1 6 , Ġtemp = 8 . 3 7 , Ġtemp Max = 8 . 3 7 , Ġtemp Min = 8 . 3 7 ), Ġweather = listOf ( Weather 1 ( main =" Cloud s ")), Ġwind = Wind ( speed = 3 . 1 8 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 0 6 , Ġclouds = Cloud s ( all = 3 1 ), Ġdt = 1 5 8 5 9 4 7 6 0 0 , Ġmain = Main ( fe els Like = 3 . 6 7 , Ġhum idity = 6 7 , Ġpressure = 1 0 1 8 , Ġtemp = 6 . 4 9 , Ġtemp Max = 6 . 4 9 , Ġtemp Min = 6 . 4 9 ), Ġweather = listOf ( Weather 1 ( main =" Cloud s ")), Ġwind = Wind ( speed = 1 . 3 7 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 0 7 , Ġclouds = Cloud s ( all = 2 2 ), Ġdt = 1 5 8 5 9 5 8 4 0 0 , Ġmain = Main ( fe els Like = 1 . 8 5 , Ġhum idity = 7 9 , Ġpressure = 1 0 1 9 , Ġtemp = 4 . 9 6 , Ġtemp Max = 4 . 9 6 , Ġtemp Min = 4 . 9 6 ), Ġweather = listOf ( Weather 1 ( main =" Cloud s ")), Ġwind = Wind ( speed = 1 . 9 7 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 0 8 , Ġclouds = Cloud s ( all = 7 3 ), Ġdt = 1 5 8 5 9 6 9 2 0 0 , Ġmain = Main ( fe els Like = 0 . 7 , Ġhum idity = 7 7 , Ġpressure = 1 0 2 1 , Ġtemp = 4 . 6 7 , Ġtemp Max = 4 . 6 7 , Ġtemp Min = 4 . 6 7 ), Ġweather = listOf ( Weather 1 ( main =" Cloud s ")), Ġwind = Wind ( speed = 3 . 0 5 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 0 9 , Ġclouds = Cloud s ( all = 5 5 ), Ġdt = 1 5 8 5 9 8 0 0 0 0 , Ġmain = Main ( fe els Like = 2 . 9 5 , Ġhum idity = 7 4 , Ġpressure = 1 0 2 3 , Ġtemp = 6 . 4 8 , Ġtemp Max = 6 . 4 8 , Ġtemp Min = 6 . 4 8 ), Ġweather = listOf ( Weather 1 ( main =" Cloud s ")), Ġwind = Wind ( speed = 2 . 7 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 1 0 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 9 9 0 8 0 0 , Ġmain = Main ( fe els Like = 7 . 7 , Ġhum idity = 5 2 , Ġpressure = 1 0 2 3 , Ġtemp = 1 1 . 5 5 , Ġtemp Max = 1 1 . 5 5 , Ġtemp Min = 1 1 . 5 5 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 3 . 1 2 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 1 1 , Ġclouds = Cloud s ( all = 2 ), Ġdt = 1 5 8 6 0 0 1 6 0 0 , Ġmain = Main ( fe els Like = 9 . 7 4 , Ġhum idity = 4 1 , Ġpressure = 1 0 2 3 , Ġtemp = 1 3 . 7 3 , Ġtemp Max = 1 3 . 7 3 , Ġtemp Min = 1 3 . 7 3 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 3 . 0 2 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 1 2 , Ġclouds = Cloud s ( all = 1 3 ), Ġdt = 1 5 8 6 0 1 2 4 0 0 , Ġmain = Main ( fe els Like = 9 . 5 , Ġhum idity = 4 3 , Ġpressure = 1 0 2 3 , Ġtemp = 1 3 . 6 , Ġtemp Max = 1 3 . 6 , Ġtemp Min = 1 3 . 6 ), Ġweather = listOf ( Weather 1 ( main =" Cloud s ")), Ġwind = Wind ( speed = 3 . 2 9 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 1 3 , Ġclouds = Cloud s ( all = 8 ), Ġdt = 1 5 8 6 0 2 3 2 0 0 , Ġmain = Main ( fe els Like = 5 . 1 6 , Ġhum idity = 5 8 , Ġpressure = 1 0 2 6 , Ġtemp = 9 . 0 1 , Ġtemp Max = 9 . 0 1 , Ġtemp Min = 9 . 0 1 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 2 . 9 2 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 1 4 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 6 0 3 4 0 0 0 , Ġmain = Main ( fe els Like = 2 . 3 , Ġhum idity = 6 1 , Ġpressure = 1 0 2 9 , Ġtemp = 7 . 1 6 , Ġtemp Max = 7 . 1 6 , Ġtemp Min = 7 . 1 6 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 4 . 1 4 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 1 5 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 6 0 4 4 8 0 0 , Ġmain = Main ( fe els Like = 0 . 7 7 , Ġhum idity = 6 8 , Ġpressure = 1 0 2 9 , Ġtemp = 5 . 3 6 , Ġtemp Max = 5 . 3 6 , Ġtemp Min = 5 . 3 6 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 3 . 7 1 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 1 6 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 6 0 5 5 6 0 0 , Ġmain = Main ( fe els Like =- 0 . 6 9 , Ġhum idity = 7 2 , Ġpressure = 1 0 3 0 , Ġtemp = 3 . 8 8 , Ġtemp Max = 3 . 8 8 , Ġtemp Min = 3 . 8 8 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 3 . 5 5 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 1 7 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 6 0 6 6 4 0 0 , Ġmain = Main ( fe els Like = 1 . 1 7 , Ġhum idity = 6 6 , Ġpressure = 1 0 3 0 , Ġtemp = 6 . 1 8 , Ġtemp Max = 6 . 1 8 , Ġtemp Min = 6 . 1 8 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 4 . 3 9 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 1 8 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 6 0 7 7 2 0 0 , Ġmain = Main ( fe els Like = 7 . 7 9 , Ġhum idity = 5 3 , Ġpressure = 1 0 3 0 , Ġtemp = 1 2 . 3 3 , Ġtemp Max = 1 2 . 3 3 , Ġtemp Min = 1 2 . 3 3 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 4 . 3 4 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 1 9 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 6 0 8 8 0 0 0 , Ġmain = Main ( fe els Like = 1 1 . 9 5 , Ġhum idity = 4 2 , Ġpressure = 1 0 2 9 , Ġtemp = 1 6 . 2 6 , Ġtemp Max = 1 6 . 2 6 , Ġtemp Min = 1 6 . 2 6 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 4 . 0 9 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 2 0 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 6 0 9 8 8 0 0 , Ġmain = Main ( fe els Like = 1 2 . 0 6 , Ġhum idity = 4 3 , Ġpressure = 1 0 2 8 , Ġtemp = 1 6 . 4 1 , Ġtemp Max = 1 6 . 4 1 , Ġtemp Min = 1 6 . 4 1 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 4 . 2 7 )) ĊĠĠĠ Ġ) ĊĠĠĠ Ġvar Ġexpected Result 5 days : ĠList < Future Weather Item > Ġ= ĠlistOf ( ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 8 7 , Ġclouds = Cloud s ( all = 8 ), Ġdt = 1 5 8 5 7 4 2 4 0 0 , Ġmain = Main ( fe els Like = 3 . 9 8 , Ġhum idity = 4 2 , Ġpressure = 1 0 2 1 , Ġtemp = 7 . 8 4 , Ġtemp Max = 7 . 8 4 , Ġtemp Min =- 1 . 1 6 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 3 . 0 7 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 2 9 5 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 5 8 2 8 8 0 0 , Ġmain = Main ( fe els Like = 5 . 1 , Ġhum idity = 4 2 , Ġpressure = 1 0 1 6 , Ġtemp = 1 0 . 0 1 , Ġtemp Max = 1 0 . 0 1 , Ġtemp Min = 0 . 1 4 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 3 . 7 3 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 0 4 , Ġclouds = Cloud s ( all = 2 8 ), Ġdt = 1 5 8 5 9 2 6 0 0 0 , Ġmain = Main ( fe els Like = 8 . 0 6 , Ġhum idity = 4 7 , Ġpressure = 1 0 1 4 , Ġtemp = 1 2 . 9 7 , Ġtemp Max = 1 2 . 9 7 , Ġtemp Min = 1 . 5 5 ), Ġweather = listOf ( Weather 1 ( main =" Cloud s ")), Ġwind = Wind ( speed = 5 . 6 9 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 1 1 , Ġclouds = Cloud s ( all = 2 ), Ġdt = 1 5 8 6 0 0 1 6 0 0 , Ġmain = Main ( fe els Like = 9 . 7 4 , Ġhum idity = 4 1 , Ġpressure = 1 0 2 3 , Ġtemp = 1 3 . 7 3 , Ġtemp Max = 1 3 . 7 3 , Ġtemp Min = 4 . 6 7 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 3 . 2 9 )), ĊĠĠĠĠĠĠĠ ĠFuture Weather Item ( id = 6 3 2 0 , Ġclouds = Cloud s ( all = 0 ), Ġdt = 1 5 8 6 0 9 8 8 0 0 , Ġmain = Main ( fe els Like = 1 2 . 0 6 , Ġhum idity = 4 3 , Ġpressure = 1 0 2 8 , Ġtemp = 1 6 . 4 1 , Ġtemp Max = 1 6 . 4 1 , Ġtemp Min = 3 . 8 8 ), Ġweather = listOf ( Weather 1 ( main =" Clear ")), Ġwind = Wind ( speed = 4 . 3 9 )) ĊĠĠĠ Ġ) ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtransform 3 Hours List To 5 Days List _ is Correct () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertEquals ( expected Result 5 days , Ġtransform 3 Hours List To 5 Days List ( testData )); ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġget MinMax Temperature _ is Correct () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertEquals ( array Of (- 1 . 3 4 , 1 6 . 4 1 ), Ġget MinMax Temperature ( testData )); ĊĠĠĠ Ġ} Ċ Ċ } Ċ