blob: 3069de8fb82aa793cf3b15280f0f44c1d981b1db [file] [log] [blame]
Hans Boehm75ca21c2015-03-11 18:43:24 -07001Run on Android with
2
31) Build the tests.
42) Install the calculator with
5adb install <tree root>/out/target/product/generic/data/app/ExactCalculatorTests/ExactCalculator.apk
63) adb install <tree root>/out/target/product/generic/data/app/ExactCalculatorTests/ExactCalculatorTests.apk
74) adb shell am instrument -w com.android.exactcalculator.tests/android.test.InstrumentationTestRunner
8
9There are two kinds of tests:
10
111. A superficial test of calculator functionality through the UI.
12This is a resurrected version of a test that appeared in KitKat.
Hans Boehm4a6b7cb2015-04-03 18:41:52 -070013This is currently only a placeholder for regression tests we shouldn't
14forget; it doesn't yet actually do much of anything.
Hans Boehm75ca21c2015-03-11 18:43:24 -070015
162. A test of the BoundedRationals library that mostly checks for agreement
17with the constructive reals (CR) package. (The BoundedRationals package
18is used by the calculator mostly to identify exact results, i.e.
19terminating decimal expansions. But it's also used to optimize CR
20computations, and bugs in BoundedRational could result in incorrect
21outputs.)