Beispiel #1
0
        public void DbGetCardsTest()
        {
            PostgreSqlClass db       = new PostgreSqlClass();
            List <Card>     cardList = new List <Card>();

            cardList = db.GetAllCardsFromDB();
            Console.WriteLine();

            string expOne = "Hurricane";
            string actOne = cardList[0].GetCardName();

            Assert.AreEqual(expOne, actOne);
        }
Beispiel #2
0
        public void Setup()
        {
            PostgreSqlClass db = new PostgreSqlClass();

            cardList = db.GetAllCardsFromDB();
        }