summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2015-09-03 16:04:50 -0700
committerHans Boehm <hboehm@google.com>2015-10-11 06:29:29 +0000
commitec7517f38758f67233f2b06bc7bab17a8ffeccba (patch)
treeb619bffb5e972bb4f46e9a4dca78ba16bcef61d0 /tests
parente4b8ff7c9c8a041ab451cdc78a019b2a4a666b99 (diff)
downloadandroid_packages_apps_ExactCalculator-ec7517f38758f67233f2b06bc7bab17a8ffeccba.tar.gz
android_packages_apps_ExactCalculator-ec7517f38758f67233f2b06bc7bab17a8ffeccba.tar.bz2
android_packages_apps_ExactCalculator-ec7517f38758f67233f2b06bc7bab17a8ffeccba.zip
Check for decimal point after adding ellipsis
Bug: 23728152 This avoids the one case in which we displayed neither a decimal point nor an exponent, and the decimal point was not just to the right of the number. Remove a redundant test, which obscured the logic. Add a couple of suggested manual tests that helped me find a (newly introduced, not submitted) bug. Change-Id: Iead1efa0a4e8ea74512e9e1f77334f80bbcdd202 (cherry picked from commit 73ecff20d9dfd80d1cff09e0210d8987049b9df3)
Diffstat (limited to 'tests')
-rw-r--r--tests/README.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/README.txt b/tests/README.txt
index b5e6dfe..304766f 100644
--- a/tests/README.txt
+++ b/tests/README.txt
@@ -39,6 +39,8 @@ Some interesting manual test cases:
-10^30 - 10^10
-1.2x10^-9
-1.2x10^-8
+-1.2x10^-10
+-10^-12
1 - 10^-98
1 - 10^-100
1 - 10^-300