@Test
public void testSassPrecision() throws Exception {

	try (SassCompiler sassCompiler = new RubySassCompiler(10)) {
		String expectedOutput = ".foo { line-height: 1.428571429; }";
		String actualOutput = sassCompiler.compileString(
			"$val: 1.428571429;.foo { line-height: $val; }", "");
		Assert.assertEquals(
			stripNewLines(expectedOutput), stripNewLines(actualOutput));
	}
	try (SassCompiler sassCompiler = new RubySassCompiler(3)) {
		String expectedOutput = ".foo { line-height: 1.429; }";
		String actualOutput = sassCompiler.compileString(
			"$val: 1.428571429;.foo { line-height: $val; }", "");
		Assert.assertEquals(
			stripNewLines(expectedOutput), stripNewLines(actualOutput));
	}
}