Properties of rocks tested in one-dimensional compression