SizzleParser.ReInit(new StringReader(source));
TestTypeCheckingVisitor.typeChecker.visit(SizzleParser.Start(), st);
Assert.assertEquals("submitsthroughweek is not an unweighted table of ints indexed by int",
new SizzleTable(new SizzleInt(), Arrays.asList(new SizzleScalar[] { new SizzleInt() }), null), st.get("submitsthroughweek"));
final List<SizzleType> members = new ArrayList<SizzleType>(Arrays.asList(new SizzleInt()));
Assert.assertEquals("log is not a P4ChangelistStats", new SizzleTuple(members), st.get("log"));
Assert.assertEquals("t is not a time", new SizzleTime(), st.get("t"));
Assert.assertEquals("minute is not an int", new SizzleInt(), st.get("minute"));
}