Non-destructive testing of one-dimensional structure based on time reversal