v1
- by seasle 1/7/202200
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
const t1 = (a, b) => Math.hypot(b[0] - a[0], b[1] - a[1]);
const t2 = (a, b) => Math.sqrt((b[0] - a[0]) ** 2 + (b[1] - a[1]) ** 2);
delete caserun single casemove downdrag and drop case


ready



t1([-2, 5], [8, 7]);
delete caserun single casemove updrag and drop case


ready



t2([-2, 5], [8, 7]);
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