When test patterns for logical circuits are therefore generated by a generator, the test patterns must be generated in consideration of all information of signals operated in the logical circuits because the kinds of signals handled in the statements cannot be distinguished from one another.