public void Case(int sendfrom, int sendto, int amount, string status) { var test = new BalanceTransaction(); var result = test.Transfer(sendfrom, sendto, amount); Assert.AreEqual(status, result); }
public void TransferTest(int from, int to, float Ac1balance, float Ac2balance, float transfered_today, int amount, string status) { InitializeTest(from, to, Ac1balance, Ac2balance, transfered_today); var result = transfer.Transfer(from, to, amount); Assert.AreEqual(status, result); }
public static void Main() { BalanceTransaction transfer = new BalanceTransaction(); Console.WriteLine(transfer.Transfer(10002, 10001, 20000)); }
public void WhenTransfersToAccount(int Sender, int amount, int Receiver) { var test = new BalanceTransaction(); result = test.Transfer(Sender, Receiver, amount); }