test: add java/Controller.java source fixture
This commit is contained in:
6
java/Controller.java
Normal file
6
java/Controller.java
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
public class Controller {
|
||||||
|
public int selectMode(int sensor) {
|
||||||
|
if (sensor > 80) return 2;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user