chore: Files formatting
This commit is contained in:
parent
141551c3d8
commit
bd452eff17
2 changed files with 4 additions and 5 deletions
|
@ -30,9 +30,9 @@ class FileLoadingServiceTest {
|
|||
var list = averages.get("Warszawa");
|
||||
assertThat(list).hasSize(1);
|
||||
assertThat(list.getFirst()).satisfies(item -> {
|
||||
assertThat(item.getYear()).isEqualTo("2018");
|
||||
assertThat(item.getYear()).isEqualTo("2018");
|
||||
// 29.2775, but it is BigDecimal with scale 2 and round half up
|
||||
assertThat(item.getAverageTemperature().doubleValue()).isEqualTo(29.28);
|
||||
assertThat(item.getAverageTemperature().doubleValue()).isEqualTo(29.28);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue