title: What can i write so I can test drawing money from my acount
body: <p>Im trying to write a xunit test that test the function withdraw that the functions should return true if successful and false otherwise.</p>
  
  <p>I could write to unit test that just test if I input a value! How can I write so I can test that if I draw out more than Deposit so it will return false ? </p>
  
  <pre><code>BankAccount account = new Account();
  
  account.Deposit(500);  // true
  
  account.Withdraw(1000);  // false, not enough money on the account
  
  public class BankAccount 
  {
  
      private double balance = 0;
  
      public double GetBalance() { return this.balance; }  
  
      public bool Deposit(double amount) { return false; }  
  
      public bool Withdraw(double amount) { return false; }  // &lt;&lt; test this
  
  }
  </code></pre>