void function ( ) { Assert . assertEquals ( 33554431L , BlockId . createBlockId ( 1 , BlockId . getMaxSequenceNumber ( ) ) ) ; Assert . assertEquals ( MAX_SEQUENCE_NUMBER , BlockId . createBlockId ( 0 , BlockId . getMaxSequenceNumber ( ) ) ) ; Assert . assertEquals ( 4294967295L , BlockId . createBlockId ( 255 , BlockId . getMaxSequenceNumber ( ) ) ) ; }
tests that the blockid #createblockid long , long method works correctly when creating ablock with the maximum sequence number . concode_field_sep long MAX_SEQUENCE_NUMBER concode_field_sep void getMaxSequenceNumber concode_elem_sep void createBlockId concode_elem_sep void getContainerIdAndSequenceNumber