test_class.file: code/src/test/java/com/googlecode/cqengine/quantizer/IntegerQuantizerTest.java
test_class.identifier: IntegerQuantizerTest
test_case.body: @Test
      public void testWithCompressionFactor_5() throws Exception {
          Quantizer<Integer> quantizer = IntegerQuantizer.withCompressionFactor(5);
          // Note: comparing using toString, as double comparison with epsilon would not distinguish 0.0 from -0.0...
          Assert.assertEquals("0", quantizer.getQuantizedValue(0).toString());
          Assert.assertEquals("0", quantizer.getQuantizedValue(4).toString());
          Assert.assertEquals("5", quantizer.getQuantizedValue(5).toString());
          Assert.assertEquals("5", quantizer.getQuantizedValue(9).toString());
          Assert.assertEquals("10", quantizer.getQuantizedValue(11).toString());
          Assert.assertEquals("0", quantizer.getQuantizedValue(-0).toString());
          Assert.assertEquals("0", quantizer.getQuantizedValue(-4).toString());
          Assert.assertEquals("-5", quantizer.getQuantizedValue(-5).toString());
          Assert.assertEquals("-5", quantizer.getQuantizedValue(-9).toString());
          Assert.assertEquals("-10", quantizer.getQuantizedValue(-11).toString());
      }
test_case.class_method_signature: IntegerQuantizerTest.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 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/IntegerQuantizer.java
focal_class.identifier: IntegerQuantizer
focal_class.class_method_signature: IntegerQuantizer.withCompressionFactor(int compressionFactor)
focal_class.full_signature: public static Quantizer<Integer> withCompressionFactor(int compressionFactor)
focal_class.identifier: withCompressionFactor
focal_class.modifiers: public static
focal_class.parameters: (int compressionFactor)
focal_class.return: Quantizer<Integer>
focal_class.signature: Quantizer<Integer> withCompressionFactor(int compressionFactor)
focal_class.class_method_signature: IntegerQuantizer.IntegerQuantizer()
focal_class.full_signature:   IntegerQuantizer()
focal_class.identifier: IntegerQuantizer
focal_class.parameters: ()
focal_class.signature:  IntegerQuantizer()
focal_method.body: public static Quantizer<Integer> withCompressionFactor(int compressionFactor) {
          return new CompressingQuantizer(compressionFactor);
      }
focal_method.class_method_signature: IntegerQuantizer.withCompressionFactor(int compressionFactor)
focal_method.full_signature: public static Quantizer<Integer> withCompressionFactor(int compressionFactor)
focal_method.identifier: withCompressionFactor
focal_method.modifiers: public static
focal_method.parameters: (int compressionFactor)
focal_method.return: Quantizer<Integer>
focal_method.signature: Quantizer<Integer> withCompressionFactor(int compressionFactor)