I use this code to test my code:
public class Unbelievable { public void test() { int a = 5; while ((a -= 2) > 0){ //nothing t