public class TestTextBoard { public static void main(String[] args){ int roopNum=5; int[][] tejun={{1,3,15}, {2,3,3}, {1,15,3}, {2,15,15}, {1,9,9}, }; IntBoard intBoard=new IntBoard(); for(int i=0;i<roopNum;i++){ intBoard.update(tejun[i][0],tejun[i][1],tejun[i][2]); } TextBoard textBoard=new TextBoard(); char[][] result=textBoard.getTextBoard(intBoard); for(int i=0;i<result.length;i++){ System.out.println(result[i]); } } }