def test_should_return_true(self): expected = True actual = TriangleDecoder.check_if_triangle_part_1(566, 477, 376) self.assertEquals(expected, actual)
def test_should_read_input_file(self): actual = TriangleDecoder.try_to_solve_day_3_part_2() expected = 1921 # Ran the test to get the number and then updated the expected self.assertEquals(expected, actual)
def test_should_return_false_for_given_values_5_10_25_as_they_do_not_make_a_valid_triangle(self): expected = False actual = TriangleDecoder.check_if_triangle_part_1(5, 10, 25) self.assertEquals(expected, actual)