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
diff --git a/tests/README.txt b/tests/README.txt
new file mode 100644
index 0000000..40b4f8a
--- /dev/null
+++ b/tests/README.txt
@@ -0,0 +1,21 @@
+Run on Android with
+
+1) Build the tests.
+2) Install the calculator with
+adb install <tree root>/out/target/product/generic/data/app/ExactCalculatorTests/ExactCalculator.apk
+3) adb install <tree root>/out/target/product/generic/data/app/ExactCalculatorTests/ExactCalculatorTests.apk
+4) adb shell am instrument -w com.android.exactcalculator.tests/android.test.InstrumentationTestRunner
+
+There are two kinds of tests:
+
+1. A superficial test of calculator functionality through the UI.
+This is a resurrected version of a test that appeared in KitKat.
+It's currently mostly a placeholder and some basic infrastructure for
+future tests.
+
+2. A test of the BoundedRationals library that mostly checks for agreement
+with the constructive reals (CR) package.  (The BoundedRationals package
+is used by the calculator mostly to identify exact results, i.e.
+terminating decimal expansions.  But it's also used to optimize CR
+computations, and bugs in BoundedRational could result in incorrect
+outputs.)