package com.sibisoft.faizaniftikhartdd;

import static org.junit.Assert.*;

import org.junit.Test;

public class DollarTest 
{
	@Test
	public void testMultiplication()
	{
		Dollar dollar = new Dollar(5);
		dollar.times(3);
		assertEquals(10, dollar.amount);
	}
	
	

}

@@ -173,16 +173,17 @@
 on()
+ 
 %0D%0A%09%7B%0D%0A%09%09
 Doll
@@ -182,22 +182,20 @@
 %0D%0A%09%09
+%09
 Dollar 
-dollar 
+five
 = ne
@@ -214,26 +214,56 @@
 %0D%0A%09%09
+%09
-dollar
+assertEquals(new Dollar(10), five
 .times(
-3
+2)
 );%0D%0A
+%09
 %09%09as
@@ -277,39 +277,374 @@
 als(
-10, dollar.amount);%0D%0A%09%7D%0D%0A%09%0D%0A%09%0D%0A
+new Dollar(15), five.times(3));%0D%0A%09%7D%0D%0A%09@Test%0D%0A%09public void testFrancMultiplication() %0D%0A%09%7B%0D%0A%09%09Franc five= new Franc(5);%0D%0A%09%09assertEquals(new Franc(10), five.times(2));%0D%0A%09%09assertEquals(new Franc(15), five.times(3));%0D%0A%09%7D%0D%0A%09@Test%0D%0A%09public void testEquality() %0D%0A%09%7B%0D%0A%09%09assertTrue(new Dollar(5).equals(new Dollar(5)));%0D%0A%09%09assertFalse(new Dollar(5).equals(new Dollar(6)));%0D%0A%09%7D
 %0D%0A%7D%0D

Include all test cases in one test class