summaryrefslogtreecommitdiff
path: root/test/cuchaz/enigma/inputs/translation/A_Basic.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/cuchaz/enigma/inputs/translation/A_Basic.java')
-rw-r--r--test/cuchaz/enigma/inputs/translation/A_Basic.java32
1 files changed, 32 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..26acac8
--- /dev/null
+++ b/test/cuchaz/enigma/inputs/translation/A_Basic.java
@@ -0,0 +1,32 @@
1/*******************************************************************************
2 * Copyright (c) 2015 Jeff Martin.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the GNU Lesser General Public
5 * License v3.0 which accompanies this distribution, and is available at
6 * http://www.gnu.org/licenses/lgpl.html
7 *
8 * Contributors:
9 * Jeff Martin - initial API and implementation
10 ******************************************************************************/
11package cuchaz.enigma.inputs.translation;
12
13public class A_Basic {
14
15 public int one;
16 public float two;
17 public String three;
18
19 public void m1() {
20 }
21
22 public int m2() {
23 return 42;
24 }
25
26 public void m3(int a1) {
27 }
28
29 public int m4(int a1) {
30 return 5; // chosen by fair die roll, guaranteed to be random
31 }
32}