diff --git a/viz_scripts/tests/test_scaffolding.py b/viz_scripts/tests/test_scaffolding.py index 9bdd781..ed2f47f 100644 --- a/viz_scripts/tests/test_scaffolding.py +++ b/viz_scripts/tests/test_scaffolding.py @@ -179,6 +179,14 @@ def test_get_quality_text_sensed(sensed_df): result = scaffolding.get_quality_text_sensed(sensed_df) assert result == "Based on 8 trips from 5 users" -def test_get_quality_text_sensed(sensed_df): +def test_get_quality_text_sensed_include_test_users(sensed_df): + result = scaffolding.get_quality_text_sensed(sensed_df, include_test_users=True) + assert result == "Based on 8 trips from 5 testers and participants" + +def test_get_quality_text_numerator(sensed_df): + result = scaffolding.get_quality_text_sensed(sensed_df) + assert result == "Based on 8 trips from 5 users" + +def test_get_quality_text_numerator_include_test_users(sensed_df): result = scaffolding.get_quality_text_sensed(sensed_df, include_test_users=True) assert result == "Based on 8 trips from 5 testers and participants" \ No newline at end of file