Added tests

This commit is contained in:
Carlos Galindo 2019-03-27 11:57:47 +01:00
parent 63c312589a
commit 5a1d4b8e8d
Signed by untrusted user who does not match committer: kauron
GPG key ID: 83E68706DEE119A3
4 changed files with 42 additions and 1 deletions

View file

@ -0,0 +1,11 @@
public class BasicIf {
public static void main(String[] args) {
boolean isMoving = false;
int currentSpeed = 10;
if (isMoving) {
currentSpeed--;
} else {
System.err.println("The bicycle has already stopped!");
}
}
}