@Test
public void testSplitWhitespaces() {

	assertArrayEquals(Strings.splitWhitespaces("1"), new String[]{"1"});
	assertArrayEquals(Strings.splitWhitespaces(" 1"), new String[]{"1"});
	assertArrayEquals(Strings.splitWhitespaces("   1"), new String[]{"1"});
	assertArrayEquals(Strings.splitWhitespaces("   1 "), new String[]{"1"});
	assertArrayEquals(Strings.splitWhitespaces("   1   "), new String[]{"1"});
	
	assertArrayEquals(Strings.splitWhitespaces("1 2"), new String[]{"1","2"});
	assertArrayEquals(Strings.splitWhitespaces(" 1 2"), new String[]{"1","2"});
	assertArrayEquals(Strings.splitWhitespaces(" 1 2 "), new String[]{"1","2"});
	assertArrayEquals(Strings.splitWhitespaces("  1 2  "), new String[]{"1","2"});
	assertArrayEquals(Strings.splitWhitespaces("  1  2  "), new String[]{"1","2"});
}