title: JUnit 5 and multiple input data (Java)
body: <p>How to use JUnit 5 to run series of tests of a computation, each  for a different pair of input data and benchmark output?</p>
  
  <p>Condition: the computation should be performed only once per input and not for every test separately as it is time-intensive.</p>
  
  <p>Every test checks a number put out by the already imperfectly written computation module. It is not feasible to restructure the module into separately testable subfunctions.</p>