### Question:
AbstractBitcoinNetParams extends NetworkParameters { public final boolean isRewardHalvingPoint(final int previousHeight) { return ((previousHeight + 1) % REWARD_HALVING_INTERVAL) == 0; } AbstractBitcoinNetParams(); final boolean isRewardHalvingPoint(final int previousHeight); Coin getBlockInflation(int height); final boolean isDifficultyTransitionPoint(final int previousHeight); @Override void checkDifficultyTransitions(final StoredBlock storedPrev, final Block nextBlock,
        final BlockStore blockStore); @Override Coin getMaxMoney(); @Override @Deprecated Coin getMinNonDustOutput(); @Override MonetaryFormat getMonetaryFormat(); @Override int getProtocolVersionNum(final ProtocolVersion version); @Override BitcoinSerializer getSerializer(boolean parseRetain); @Override String getUriScheme(); @Override boolean hasMaxMoney(); static final String BITCOIN_SCHEME; static final int REWARD_HALVING_INTERVAL; }### Answer:
@Test public void isRewardHalvingPoint() { assertTrue(BITCOIN_PARAMS.isRewardHalvingPoint(209999)); assertTrue(BITCOIN_PARAMS.isRewardHalvingPoint(419999)); assertFalse(BITCOIN_PARAMS.isRewardHalvingPoint(629998)); assertTrue(BITCOIN_PARAMS.isRewardHalvingPoint(629999)); assertFalse(BITCOIN_PARAMS.isRewardHalvingPoint(630000)); assertTrue(BITCOIN_PARAMS.isRewardHalvingPoint(839999)); }