public void GetLastRecordListRutorTest()
        {
            DataBaseControl db           = new DataBaseControl();
            List <ItemList> lastPreposts = db.GetLastRecordListRutor();

            Assert.AreEqual(100, lastPreposts.Count());
        }
Ejemplo n.º 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            DataBaseControl db = new DataBaseControl();

            db.GetLastRecordListRutor();

            Application.Run(new Form_Main());
        }