test_class.file: CodeSmells/src/matcher/MatcherTest.java
test_class.identifier: MatcherTest
test_case.body: @Test
  	public void testMatch() {
  		Matcher matcher = new Matcher();
  
  		int[] expected = new int[] { 10, 50, 30, 98 };
  		int clipLimit = 100;
  		int delta = 5;
  
  		int[] actual = new int[] { 12, 55, 25, 110 };
  
  		assertTrue(matcher.match(expected, actual, clipLimit, delta));
  
  		actual = new int[] { 10, 60, 30, 98 };
  		assertTrue(!matcher.match(expected, actual, clipLimit, delta));
  
  		actual = new int[] { 10, 50, 30 };
  		assertTrue(!matcher.match(expected, actual, clipLimit, delta));
  	}
test_case.class_method_signature: MatcherTest.testMatch()
test_case.full_signature: @Test public void testMatch()
test_case.identifier: testMatch
test_case.invocations: assertTrue match assertTrue match assertTrue match
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMatch()
focal_class.file: CodeSmells/src/matcher/Matcher.java
focal_class.identifier: Matcher
focal_class.class_method_signature: Matcher.Matcher()
focal_class.full_signature: public  Matcher()
focal_class.identifier: Matcher
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  Matcher()
focal_class.class_method_signature: Matcher.match(int[] expected, int[] actual, 
          int clipLimit, int delta)
focal_class.full_signature: public boolean match(int[] expected, int[] actual, 
          int clipLimit, int delta)
focal_class.identifier: match
focal_class.modifiers: public
focal_class.parameters: (int[] expected, int[] actual, 
          int clipLimit, int delta)
focal_class.return: boolean
focal_class.signature: boolean match(int[] expected, int[] actual, 
          int clipLimit, int delta)
focal_method.body: public boolean match(int[] expected, int[] actual, 
          int clipLimit, int delta) 
      {
  
          // Clip "too-large" values
          for (int i = 0; i < actual.length; i++)
              if (actual[i] > clipLimit)
                  actual[i] = clipLimit;
  
          // Check for length differences
          if (actual.length != expected.length)
              return false;
  
          // Check that each entry within expected +/- delta
          for (int i = 0; i < actual.length; i++)
              if (Math.abs(expected[i] - actual[i]) > delta)
                  return false;
  
          return true;
      }
focal_method.class_method_signature: Matcher.match(int[] expected, int[] actual, 
          int clipLimit, int delta)
focal_method.full_signature: public boolean match(int[] expected, int[] actual, 
          int clipLimit, int delta)
focal_method.identifier: match
focal_method.invocations: abs
focal_method.modifiers: public
focal_method.parameters: (int[] expected, int[] actual, 
          int clipLimit, int delta)
focal_method.return: boolean
focal_method.signature: boolean match(int[] expected, int[] actual, 
          int clipLimit, int delta)