@Test
public void testMultivariateArffFileLoading() throws TimeSeriesLoadingException {

	File datasetFile0 = new File(TSC_DATASET_PATH_PREFIX + "multivariate" + File.separator + "Libras"
			+ File.separator + "LibrasDimension1_TRAIN.arff");
	File datasetFile1 = new File(TSC_DATASET_PATH_PREFIX + "multivariate" + File.separator + "Libras"
			+ File.separator + "LibrasDimension2_TRAIN.arff");
	final Pair<TimeSeriesDataset2, ClassMapper> pairResult = SimplifiedTimeSeriesLoader.loadArffs(datasetFile0,
			datasetFile1);
	TimeSeriesDataset2 result = pairResult.getX();
	final int expectedNumInstances = 180;
	final int expectedNumSteps = 45;
	final int expectedNumVariables = 2; // Multivariate
	final int expectedNumTargets = 180;
	assertEquals(expectedNumInstances, result.getNumberOfInstances());
	assertEquals(expectedNumSteps, result.getValues(0)[0].length);
	assertEquals(expectedNumVariables, result.getNumberOfVariables());
	assertEquals(expectedNumTargets, result.getTargets().length);
}