v1
3/23/2021 by insign -00
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
function getRandomArbitrary(min, max) {
  return Math.random() * (max - min) + min;
}

const value = getRandomArbitrary(-5, 5)
delete caserun single casemove downdrag and drop case


ready



return value < 0 ? 0 : value
delete caserun single casemove upmove downdrag and drop case


ready



if (value < 0) return 0
else return value
delete caserun single casemove updrag and drop case


ready



return Math.max(0, value)
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN