An accurate test method for measuring static compressive properties of a material