diff options
| author | 2015-02-09 22:23:45 -0500 | |
|---|---|---|
| committer | 2015-02-09 22:23:45 -0500 | |
| commit | af1041731c8c0ce1846ff7e7b6052ed7327a5dbc (patch) | |
| tree | e781b93f526a6c1ba7b6f5e14c319450199aa1df /test/cuchaz/enigma/inputs/translation/A_Basic.java | |
| parent | Don't automatically move mappings around. We're more interested in stability ... (diff) | |
| download | enigma-fork-af1041731c8c0ce1846ff7e7b6052ed7327a5dbc.tar.gz enigma-fork-af1041731c8c0ce1846ff7e7b6052ed7327a5dbc.tar.xz enigma-fork-af1041731c8c0ce1846ff7e7b6052ed7327a5dbc.zip | |
fix translation issues, particularly with fields
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 | } | ||