public void GetAdminBalance_Test() { //arrange decimal expected = -486m; //act decimal actual = AccountingLog.GetAdminBalance(); //assert Assert.Equal(expected, actual); }
public decimal GetTotalBalance() { decimal balance = 0; try { balance = AccountingLog.GetAdminBalance(); } catch (Exception) { } return(decimal.Round(balance, 0)); }