The department may inspect and test materials, supplies, equipment, and machinery used by a contractor constructing or maintaining public works, and may develop methods and procedures for inspection and testing.