The test pattern generating method or the test circuit testing method explained with reference to the embodiment of the present invention can be realized by allowing a computer such as a personal computer or a work station to execute the program pre-prepared.