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