Open Winnie-the-Pooh2019 opened 3 days ago
Balance
все еще инициализируешь поля нулями...Circle
должен носить более говорящее имя (rad / radius etc) и быть с маленькой буквы, я ж кидал правила нейминга STR."Rectangle{length=\{length}, height=\{height}, area = \{area()}}";
является экспериментальным и его пока лучше не использовать
assertThrows
Bell.sound()
должен не возвращать, а печататьButton.click()
area()
Figure
не надо было объявлятьtoString()
, так как он доступен для реализации любым потомкам классаObject
, то есть всем классам