@@ -0,0 +1,1057 @@
+package io.bit3.jsass;%0A%0Aimport static org.hamcrest.CoreMatchers.containsString;%0Aimport static org.junit.Assert.assertThat;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Apublic class PrecisionTest %7B%0A%0A  private static final String scss = %22.something %7B%5Cn%22%0A          + %22  padding: 0 0.8em (5/7) 0.8em;%5Cn%22%0A          + %22%7D%22;%0A%0A  Compiler compiler;%0A  Options options;%0A%0A  /**%0A   * Set up test defaults.%0A   */%0A  @Before%0A  public void init() %7B%0A    compiler = new Compiler();%0A    options = new Options();%0A    options.setOutputStyle(OutputStyle.COMPRESSED);%0A  %7D%0A%0A  @Test%0A  public void testLowPrecision() throws CompilationException %7B%0A    options.setPrecision(5);%0A%0A    Output output = compiler.compileString(scss, options);%0A%0A    assertThat(output.getCss(), containsString(%22padding:0 0.8em 0.71429 0.8em%22));%0A  %7D%0A%0A  @Test%0A  public void testHighPrecision() throws CompilationException %7B%0A    options.setPrecision(10);%0A%0A    Output output = compiler.compileString(scss, options);%0A%0A    assertThat(output.getCss(), containsString(%22padding:0 0.8em 0.7142857143 0.8em%22));%0A  %7D%0A%7D%0A

add new test