Years ago, at CT Dragway, they would check cubic inches by removing spark plugs, bringing the piston to the bottom of the stroke and measuring the volume of fluid (
oil I guess) needed to fill the cylinder. They figured the cubic inches of the volume and multiplied by the number of cylinders. Pretty basic.