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); }
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 ); }