public bool SetAndGetShouldGiveSameResult(int amount) { var dollar = Dollar.Create(0); dollar.Add(amount); return(dollar.Amount == amount); }
public bool AddThenMultiplierSameAsCreate(int start, int times) { var dollar = Dollar.Create(0); dollar.Add(start); dollar.Multiplier(times); var dollar2 = Dollar.Create(start * times); return(dollar.Amount == dollar2.Amount); }