Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 178 Bytes
void setup() {
boolean b = test2();
println(b);
}
boolean test2() {
int r = (int)random(5);
if (r < 1) {
return true;
} else if (r >= 1) {
return false;
}
}