diff --git a/apps/calculation/test/calculation_store.cpp b/apps/calculation/test/calculation_store.cpp index 48fb5c6b2..c621fcac4 100644 --- a/apps/calculation/test/calculation_store.cpp +++ b/apps/calculation/test/calculation_store.cpp @@ -102,5 +102,12 @@ QUIZ_CASE(calculation_display_exact_approximate) { lastCalculation = store.calculationAtIndex(1); quiz_assert(lastCalculation->shouldOnlyDisplayExactOutput() == false); quiz_assert(lastCalculation->shouldOnlyDisplayApproximateOutput(&globalContext) == true); + + store.deleteAll(); + store.push("28^7", &globalContext); + lastCalculation = store.calculationAtIndex(1); + quiz_assert(lastCalculation->shouldOnlyDisplayExactOutput() == false); + quiz_assert(lastCalculation->shouldOnlyDisplayApproximateOutput(&globalContext) == false); + store.deleteAll(); }