コード例 #1
0
        public void GetPropValueTest()
        {
            string            file = "myfile.txt";
            ApplicantDatabase ad   = ApplicantDatabase.InitializeDatabase(file);
            Applicant         a    = new Applicant("1892184593201,Alex,Radu,7,4.75,4,4.5,0");

            ad.InsertRecord(a);
            Assert.AreEqual(ApplicantDatabase.GetPropValue(a, "Id").ToString(), "1892184593201");
        }