### Question:
AbstractBitcoinNetParams extends NetworkParameters { public Coin getBlockInflation(int height) { return Coin.FIFTY_COINS.shiftRight(height / getSubsidyDecreaseBlockCount()); } 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 getBlockInflation() { assertEquals(Coin.FIFTY_COINS, BITCOIN_PARAMS.getBlockInflation(209998)); assertEquals(Coin.FIFTY_COINS, BITCOIN_PARAMS.getBlockInflation(209999)); assertEquals(Coin.FIFTY_COINS.div(2), BITCOIN_PARAMS.getBlockInflation(210000)); assertEquals(Coin.FIFTY_COINS.div(2), BITCOIN_PARAMS.getBlockInflation(210001)); }