package fi.aluesarjat.prototype;

import static org.junit.Assert.*;

import java.util.Arrays;
import java.util.List;

import org.junit.Test;

public class DataServiceTest {
	
	@Test
	public void SplitDatasetDef() {
		List<String> elements = DataService.splitDatasetDef("file:/opt/aluesarjat/data/Vaesto_sal/Perheet_sal/B01S_ESP_Perhetyypit.px \".\"");
		assertEquals(Arrays.asList("file:/opt/aluesarjat/data/Vaesto_sal/Perheet_sal/B01S_ESP_Perhetyypit.px", "\".\""), elements);
	}
	
	@Test
	public void SplitDatasetDe2f() {
		List<String> elements = DataService.splitDatasetDef("file:/opt/aluesarjat/data/Vaesto sal/Perheet_sal/B01S_ESP_Perhetyypit.px \".\"");
		assertEquals(Arrays.asList("file:/opt/aluesarjat/data/Vaesto sal/Perheet_sal/B01S_ESP_Perhetyypit.px", "\".\""), elements);
	}

}

@@ -514,10 +514,21 @@
 etDe
-2
 f
+_With_Spaces
 () %7B

Rename test