@pytest.mark.parametrize('param_r_squared, expected_result', [(1, True), (0.99, True), (0.98, False)])
def test_valid_r_squared_must_return_true_when_r_squared_is_greater_than_0990(self, linearity_validator_obj, param_r_squared, expected_result):
    'Given homokedastic data\n        When check_hypothesis is called\n        Then r_squared > 0.990 must assert true'
    linearity_validator_obj.fitted_result.rsquared = param_r_squared
    assert (linearity_validator_obj.valid_r_squared is expected_result)
Given homokedastic data
When check_hypothesis is called
Then r_squared > 0.990 must assert true
@pytest.mark.parametrize('param_r_squared, expected_result', [(1, True), (0.99, True), (0.98, False)])
def test_valid_r_squared_must_return_true_when_r_squared_is_greater_than_0990(self, linearity_validator_obj, param_r_squared, expected_result):
    'Given homokedastic data\n        When check_hypothesis is called\n        Then r_squared > 0.990 must assert true'
    linearity_validator_obj.fitted_result.rsquared = param_r_squared
    assert (linearity_validator_obj.valid_r_squared is expected_result)