memoization-core/src/test/java/de/xn__ho_hia/memoization/shared/MemoizationDefaultsTest.java
@Test
    public void shouldConcatDoubleBinaryOperatorHashCodesWithWhitespaceInbetween() {
        // given
        final DoubleBinaryFunction<String> keyFunction = MemoizationDefaults
                .doubleBinaryOperatorHashCodeKeyFunction();

        // when
        final String calculatedKey = keyFunction.apply(123.456D, 789.123D);

        // when
        Assert.assertEquals("Calculated key does not match expectations", "1522623320 -1478220865", calculatedKey); //$NON-NLS-1$
    }
/**
     * Ensures that the default key function for DoubleBinaryOperator concats the hash-codes of its two inputs by
     * placing a whitespace inbetween.
     */
Ensures that the default key function for DoubleBinaryOperator concats the hash-codes of its two inputs by
placing a whitespace inbetween.
Ensures that the default key function for DoubleBinaryOperator concats the hash - codes of its two inputs by placing a whitespace inbetween .
@Test
    public void shouldConcatDoubleBinaryOperatorHashCodesWithWhitespaceInbetween() {
        final DoubleBinaryFunction<String> keyFunction = MemoizationDefaults
                .doubleBinaryOperatorHashCodeKeyFunction();
        final String calculatedKey = keyFunction.apply(123.456D, 789.123D);
        Assert.assertEquals("Calculated key does not match expectations", "1522623320 -1478220865", calculatedKey); 
    }
@ Test public void shouldConcatDoubleBinaryOperatorHashCodesWithWhitespaceInbetween ( ) { final DoubleBinaryFunction < String > keyFunction = MemoizationDefaults . doubleBinaryOperatorHashCodeKeyFunction ( ) ; final String calculatedKey = keyFunction . apply ( 123.456D , 789.123D ) ; Assert . assertEquals ( "Calculated key does not match expectations" , "1522623320 -1478220865" , calculatedKey ) ; }
Ensures that the default key function for DoubleBinaryOperator concats the hash-codes of its two inputs by
 placing a whitespace inbetween.
Ensures that the default key function for DoubleBinaryOperator concats the hash - codes of its two inputs by placing a whitespace inbetween .
// given // when // when //$NON-NLS-1$