@Test
public void testUnivariateArffFileLoading() throws TimeSeriesLoadingException {

	final File datasetFile = new File(
			TSC_DATASET_PATH_PREFIX + "univariate" + File.separator + "Car" + File.separator + "Car_TRAIN.arff");
	final Pair<TimeSeriesDataset2, ClassMapper> pairResult = SimplifiedTimeSeriesLoader.loadArff(datasetFile);
	TimeSeriesDataset2 result = pairResult.getX();
	final int expectedNumInstances = 60;
	final int expectedNumSteps = 577;
	final int expectedNumVariables = 1; // Univariate
	final int expectedNumTargets = 60;
	assertEquals(expectedNumInstances, result.getNumberOfInstances());
	assertEquals(expectedNumSteps, result.getValues(0)[0].length);
	assertEquals(expectedNumVariables, result.getNumberOfVariables());
	assertEquals(expectedNumTargets, result.getTargets().length);
}