Load CSV file located in the classpath for H2 Database

For tests purposes, I want to create and fill some tables using SQL scripts as well as CSV files. So I created a SQL script like this one: CREATE TABLE T_FOO ( … ) as select * from CSVREAD(‘…

Unit testing mathematical code

I am writing a small utility for calculating a complicated mathematical formula (using commons-math library for integration and root finding). I was trying to write it in the same way as a normal …