1. A method of testing a computer, the method comprising: designating a register as an input-only register having a setting of a value which does not cause an exception interruption with an execution of a specific type of instruction; generating a test instruction array having a plurality of instructions for a test, by assigning a register excluding the input-only register as an output destination of an execution result of each of the plurality of instructions; executing the plurality of instructions included in the generated test instruction array; and evaluating the execution results by the computer.