diff options
Diffstat (limited to 'test/cuchaz/enigma/inputs/translation/A_Basic.java')
| -rw-r--r-- | test/cuchaz/enigma/inputs/translation/A_Basic.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/cuchaz/enigma/inputs/translation/A_Basic.java b/test/cuchaz/enigma/inputs/translation/A_Basic.java new file mode 100644 index 0000000..8930763 --- /dev/null +++ b/test/cuchaz/enigma/inputs/translation/A_Basic.java | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | package cuchaz.enigma.inputs.translation; | ||
| 2 | |||
| 3 | public class A_Basic { | ||
| 4 | |||
| 5 | public int one; | ||
| 6 | public float two; | ||
| 7 | public String three; | ||
| 8 | |||
| 9 | public void m1() { | ||
| 10 | } | ||
| 11 | |||
| 12 | public int m2() { | ||
| 13 | return 42; | ||
| 14 | } | ||
| 15 | |||
| 16 | public void m3(int a1) { | ||
| 17 | } | ||
| 18 | |||
| 19 | public int m4(int a1) { | ||
| 20 | return 5; // chosen by fair die roll, guaranteed to be random | ||
| 21 | } | ||
| 22 | } | ||