package com.nigorojr.typebest;

import java.sql.SQLException;
import java.util.HashMap;

public class Tester {

    public static void main(String[] args) {
        // This is to test the behavior of the Database class
        try {
            Records rec = new Records();
            System.out.println("exist?\n" + rec.isTableExist());
            HashMap<String, String> pair = new HashMap<String, String>();
            pair.put("foo", "int");
            pair.put("hoge", "varchar(50)");
            if (!rec.isTableExist()) {
                rec.createTable(pair);
            }
        }
        catch (SQLException e) {
            e.printStackTrace();
        }
    }

}

@@ -571,32 +571,265 @@
 ;%0A            %7D%0A
+            System.out.println(%22finished creating...%22);%0A            HashMap%3CString, String%3E ins = new HashMap%3CString, String%3E();%0A            ins.put(%22foo%22, %2250%22);%0A            ins.put(%22hoge%22, %22'barbar'%22);%0A            rec.insert(ins);%0A
         %7D%0A      

Add test for checking whether insert method runs or not