1234567891011121314151617181920212223 |
-
-
- import org.junit.Assert;
- import org.junit.After;
- import org.junit.Before;
- import org.junit.Test;
-
-
- public class AccountTest
- {
- @Test
- public void balanceTest1(){
- Account account = new Account();
- account.deposit(1000);
- int actual = account.balance();
- int expected = 1000;
- Assert.assertEquals(actual,expected);
-
- }
-
-
- }
|