/** Ċ Ġ* ĠSPDX - File Copyright Text : Ġ 2 0 2 1 ĠEric ĠNe id hard t Ċ Ġ* ĠSPDX - License - Identifier : ĠMIT Ċ Ġ*/ Ċ package Ġorg . ne id hard t . rx location . utils Ċ Ċ import Ġorg . junit . Test Ċ Ċ import Ġorg . junit . Assert .* Ċ Ċ class ĠBear ing Utils Kt Test Ġ{ ĊĊ ĉ @ Test Ċ ĉ fun Ġcalc Average Angle () Ġ{ Ċĉ ĉ assertEquals ( 1 2 f , Ġcalc Average Angle ( listOf ( 1 2 f ))) ĊĊĉ ĉ assertEquals ( 1 9 0 f , Ġcalc Average Angle ( listOf ( 1 8 0 f , Ġ 2 0 0 f ))) ĊĊĉ ĉ assertEquals ( 0 f , Ġcalc Average Angle ( listOf ( 3 4 0 f , Ġ 2 0 f ))) ĊĊĉ ĉ assertEquals ( 5 f , Ġcalc Average Angle ( listOf ( 3 4 0 f , Ġ 3 0 f ))) ĊĊĉ ĉ assertEquals ( 3 5 0 f , Ġcalc Average Angle ( listOf ( 3 4 0 f , Ġ 3 4 0 f , Ġ 3 6 0 f , Ġ 0 f ))) ĊĊĉ ĉ assertEquals ( 3 5 5 f , Ġcalc Average Angle ( listOf ( 3 5 0 f , Ġ 1 5 f , Ġ 3 4 0 f ))) Ċ ĉ } Ċ }