public void TestTypeConvert() { CSVTable table = LoadTypedTable(); Assert.AreEqual(DataType.Integer, table.GetColumnType("level")); Assert.AreEqual(DataType.Text, table.GetColumnType("name")); Assert.AreEqual(DataType.Float, table.GetColumnType("attack")); var rows = table.FindRows((row) => { var levelEntry = row.GetEntry("level"); var attackEntry = row.GetEntry("attack"); return((int)levelEntry > 110 && (float)attackEntry >= 249.44f); }); Assert.AreEqual(11, rows.Count); }