예제 #1
0
 def compare_values(self, float_first_value, float_second_value) -> str:
     if self.compare_bigger(float_first_value, float_second_value):
         return Printer.print_bigger(Printer(), float_first_value,
                                     float_second_value)
     elif self.compare_equal(float_first_value, float_second_value):
         return Printer.print_equal(Printer(), float_first_value,
                                    float_second_value)
     else:
         return Printer.print_smaller(Printer(), float_first_value,
                                      float_second_value)