public void TestEqualsToBetweenDollarAndFranc() { Dollar fiveDollar = new Dollar(5); Franc tenFranc = new Franc(10); Assert.AreEqual(true, fiveDollar.EqualsTo(tenFranc)); }
public void TestEqualsTo() { Franc five = new Franc(5); Franc anotherFive = new Franc(5); Assert.AreEqual(true, five.EqualsTo(anotherFive)); }
public void TestMultiplication() { Franc five = new Franc(5); five.Times(2); Assert.AreEqual(10, five.Amount); }
public void TestFloatAmount() { Franc fivePointThree = new Franc(5.3); Assert.AreEqual(5.3, fivePointThree.Amount); }
public void TestCurrency() { Franc five = new Franc(); Assert.AreEqual("CHF", five.Currency); }