summaryrefslogtreecommitdiffstats
path: root/proguard.flags
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2015-03-11 18:43:24 -0700
committerHans Boehm <hboehm@google.com>2015-04-07 18:05:42 -0700
commit75ca21c698808b61238a3aff3e0a3dfd5ba95d0e (patch)
tree2d53dac90347479e33fe61338a81083c96585644 /proguard.flags
parent682ff5e8ad465d74b289590e5c88e0cf129ca90b (diff)
downloadandroid_packages_apps_ExactCalculator-75ca21c698808b61238a3aff3e0a3dfd5ba95d0e.tar.gz
android_packages_apps_ExactCalculator-75ca21c698808b61238a3aff3e0a3dfd5ba95d0e.tar.bz2
android_packages_apps_ExactCalculator-75ca21c698808b61238a3aff3e0a3dfd5ba95d0e.zip
Add tests, fix BoundedRational bugs
Add back some basic test infrastructure from the KitKat calculator, updated to make it work with the current code base and asynchronous expression evaluation. Add BoundedRational tests, designed to check that we get all the corner cases, particularly for degree-based trig functions, right. Fix a couple of BoundedRational typos that caused these tests to fail. Change-Id: I81d8f3d9bde6aa6c20f9958eabd62979babeff5b
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags4
1 files changed, 4 insertions, 0 deletions
diff --git a/proguard.flags b/proguard.flags
new file mode 100644
index 0000000..dfd6702
--- /dev/null
+++ b/proguard.flags
@@ -0,0 +1,4 @@
+# Some small BoundedRational methods like equals() are not used by the
+# calculator, but crucial for testing.
+
+-keepclassmembers class com.android.calculator2.BoundedRational { *; }