Thermal shock testing of ceramics with pulsed laser irradiation