TODO: Write a project description
TODO: Describe the installation process
import java.util.concurrent.atomic.AtomicInteger; | |
import org.junit.runner.notification.RunNotifier; | |
import org.junit.runners.BlockJUnit4ClassRunner; | |
import org.junit.runners.model.FrameworkMethod; | |
import org.junit.runners.model.InitializationError; | |
import org.junit.runners.model.Statement; | |
/** | |
* Runs all tests in parallel and waits for them to complete. |
// src https://codepen.io/sachmata/post/elegant-pairing | |
szudzik.getindex = function(x, y) { | |
var xx = x >= 0 ? x * 2 : x * -2 - 1; | |
var yy = y >= 0 ? y * 2 : y * -2 - 1; | |
return (xx >= yy) ? (xx * xx + xx + yy) : (yy * yy + xx); | |
}; | |
szudzik.unpair = function(z) { | |
var sqrtz = Math.floor(Math.sqrt(z)); |