A test circuit comprised of a microprogram controlled control unit for
generating a test pattern (addresses and data) for each memory in
accordance with a predetermined algorithm and reading written data, an
arithmetic unit, and data determining means for determinating the read
data and outputting the result of determination is provided over a
semiconductor chip equipped with a memory.