示例#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 );
        }