예제 #1
0
        public void testCurrency()
        {
            TCurrency obj = new TCurrency();

            obj.ExchangeRate = 1;
            obj.insert();

            List <TCurrency> list = cdb.findAll <TCurrency>();

            Assert.AreEqual(1, list.Count);
            TCurrency x = list[0];

            Assert.AreEqual(1, x.ExchangeRate);
        }
예제 #2
0
        public void testCurrency()
        {
            TCurrency obj = new TCurrency();
            obj.ExchangeRate = 1;
            obj.insert();

            List<TCurrency> list = cdb.findAll<TCurrency>();
            Assert.AreEqual( 1, list.Count );
            TCurrency x = list[0];

            Assert.AreEqual( 1, x.ExchangeRate );
        }