test_class.file: code/src/test/java/com/googlecode/cqengine/quantizer/FloatQuantizerTest.java
test_class.identifier: FloatQuantizerTest
test_case.body: @Test
      public void testWithCompressionFactor_5() throws Exception {
          Quantizer<Float> quantizer = FloatQuantizer.withCompressionFactor(5);
          // Note: comparing using toString, as double comparison with epsilon would not distinguish 0.0 from -0.0...
          Assert.assertEquals("0.0", quantizer.getQuantizedValue(0.0F).toString());
          Assert.assertEquals("0.0", quantizer.getQuantizedValue(4.2F).toString());
          Assert.assertEquals("5.0", quantizer.getQuantizedValue(5.0F).toString());
          Assert.assertEquals("5.0", quantizer.getQuantizedValue(9.9F).toString());
          Assert.assertEquals("0.0", quantizer.getQuantizedValue(-0.0F).toString());
          Assert.assertEquals("0.0", quantizer.getQuantizedValue(-4.2F).toString());
          Assert.assertEquals("-5.0", quantizer.getQuantizedValue(-5.0F).toString());
          Assert.assertEquals("-5.0", quantizer.getQuantizedValue(-9.9F).toString());
      }
test_case.class_method_signature: FloatQuantizerTest.testWithCompressionFactor_5()
test_case.full_signature: @Test public void testWithCompressionFactor_5()
test_case.identifier: testWithCompressionFactor_5
test_case.invocations: withCompressionFactor assertEquals toString getQuantizedValue assertEquals toString getQuantizedValue assertEquals toString getQuantizedValue assertEquals toString getQuantizedValue assertEquals toString getQuantizedValue assertEquals toString getQuantizedValue assertEquals toString getQuantizedValue assertEquals toString getQuantizedValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWithCompressionFactor_5()
focal_class.file: code/src/main/java/com/googlecode/cqengine/quantizer/FloatQuantizer.java
focal_class.identifier: FloatQuantizer
focal_class.class_method_signature: FloatQuantizer.FloatQuantizer()
focal_class.full_signature:   FloatQuantizer()
focal_class.identifier: FloatQuantizer
focal_class.parameters: ()
focal_class.signature:  FloatQuantizer()
focal_class.class_method_signature: FloatQuantizer.withCompressionFactor(int compressionFactor)
focal_class.full_signature: public static Quantizer<Float> withCompressionFactor(int compressionFactor)
focal_class.identifier: withCompressionFactor
focal_class.modifiers: public static
focal_class.parameters: (int compressionFactor)
focal_class.return: Quantizer<Float>
focal_class.signature: Quantizer<Float> withCompressionFactor(int compressionFactor)
focal_method.body: public static Quantizer<Float> withCompressionFactor(int compressionFactor) {
          return compressionFactor < 2 ? new TruncatingQuantizer() : new TruncatingAndCompressingQuantizer(compressionFactor);
      }
focal_method.class_method_signature: FloatQuantizer.withCompressionFactor(int compressionFactor)
focal_method.full_signature: public static Quantizer<Float> withCompressionFactor(int compressionFactor)
focal_method.identifier: withCompressionFactor
focal_method.modifiers: public static
focal_method.parameters: (int compressionFactor)
focal_method.return: Quantizer<Float>
focal_method.signature: Quantizer<Float> withCompressionFactor(int compressionFactor)