question: private void assertBetterCandidate ( int direction , Rect srcRect , Rect expectedBetter , Rect expectedWorse ) { String directionStr = validateAndGetStringFor ( direction ) ; String assertMsg = String . format ( "expected %s to be a better focus search candidate than " + "%s when searching " + "from %s in direction %s" , expectedBetter , expectedWorse , srcRect , directionStr ) ; assertTrue ( assertMsg , mFocusFinder . isBetterCandidate ( direction , srcRect , expectedBetter , expectedWorse ) ) ; assertMsg = String . format ( "expected %s to not be a better focus search candidate than " + "%s when searching " + "from %s in direction %s" , expectedWorse , expectedBetter , srcRect , directionStr ) ; assertFalse ( assertMsg , mFocusFinder . isBetterCandidate ( direction , srcRect , expectedWorse , expectedBetter ) ) ; }
target:  Assert that particular rect is a better focus search candidate from a source rect than another.