Commit graph

438 commits

Author SHA1 Message Date
tibbi
5d75720619 change an Espresso test to add all digits 2015-12-30 20:57:30 +01:00
tibbi
4e1c556e8e add a basic home screen widget 2015-12-30 20:25:18 +01:00
tibbi
1969300620 change operation constants to strings 2015-12-30 15:35:50 +01:00
tibbi
920b8f87a6 fix Robolectric tests 2015-12-30 14:54:22 +01:00
tibbi
de3e1312ca move the functionality to an interface
- that way we can reuse all the code in the widget
2015-12-30 12:53:49 +01:00
tibbi
aecabbe7e0 use linearlayouts instead of tablelayout 2015-12-29 21:53:45 +01:00
tibbi
d37a1963de add some Espresso tests and a cheat sheet pdf 2015-12-29 16:08:51 +01:00
tibbi
a9539cdeb6 correct a Root test 2015-12-29 14:11:15 +01:00
Tibor Kaputa
f2a4535f5e Create README.md 2015-12-29 14:09:45 +01:00
tibbi
7fa8d5424f change the license to MIT 2015-12-29 13:31:50 +01:00
tibbi
ca53937aef implement an Espresso test 2015-12-29 12:49:48 +01:00
tibbi
cc856b3d05 add some more tests for the other buttons 2015-12-28 22:15:26 +01:00
tibbi
95d3b31102 add a couple tests + minor refactoring 2015-12-28 19:26:38 +01:00
tibbi
b0f64390dd setup Robolectric for tests 2015-12-26 22:35:45 +01:00
tibbi
e5e64f93fa replace Infinity at Power(x, y) with 0 2015-12-26 16:39:01 +01:00
tibbi
9d7b67ba16 implement Clear 2015-12-26 16:33:03 +01:00
tibbi
aa6ebd00b3 implement Root 2015-12-26 14:24:52 +01:00
tibbi
0e216ad692 implement Power(x, y) 2015-12-26 14:04:45 +01:00
tibbi
08dccc68ba implement Modulo 2015-12-25 14:39:26 +01:00
tibbi
9f4fc90a37 remove an unnecessary return statement 2015-12-24 23:17:08 +01:00
tibbi
c6aae26f94 minor refactoring, no functionality change 2015-12-24 23:07:50 +01:00
tibbi
637c47f5b5 correct some operations after equals 2015-12-24 22:56:56 +01:00
tibbi
9b1c979be6 implement division 2015-12-24 22:48:07 +01:00
tibbi
3be2aee4d3 implement multiplication 2015-12-24 22:36:06 +01:00
tibbi
82521af7b0 implement Subtraction 2015-12-24 21:41:48 +01:00
tibbi
271bf692dd move the formatter in a separate class 2015-12-24 21:00:58 +01:00
tibbi
eb40066bd2 change the app name to Simple Calculator 2015-12-24 20:41:24 +01:00
tibbi
ecfa09495b implement addition 2015-12-24 20:38:58 +01:00
tibbi
0c1f8257c9 create a common function for getting the displayed number 2015-12-24 16:48:44 +01:00
tibbi
576520dc3a implement decimals and correct handling of 0 2015-12-24 16:47:18 +01:00
tibbi
c84200a101 implement digit buttons 2015-12-24 15:34:45 +01:00
tibbi
b41d375d10 add modulo, power, root, clear buttons 2015-12-24 13:38:41 +01:00
tibbi
4798537a3a add a display 2015-12-24 13:32:18 +01:00
tibbi
587db72953 delete the w820dp version of dimens file for now 2015-12-24 13:22:27 +01:00
tibbi
8f99d8439c increase the font size of the button texts 2015-12-24 13:20:01 +01:00
tibbi
9bcdc715dd add the basic buttons 2015-12-24 13:13:54 +01:00
tibbi
67a33593c0 creating the android project 2015-12-24 12:29:46 +01:00
Tibor Kaputa
8e42879075 Initial commit 2015-12-24 12:03:10 +01:00