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);
	}
	
	

}

package com.sibisoft.faizaniftikhartdd;

import static org.junit.Assert.*;

import org.junit.Test;

public class DollarTest 
{
	@Test
	public void testMultiplication() 
	{
			Dollar five= new Dollar(5);
			assertEquals(new Dollar(10), five.times(2));
			assertEquals(new Dollar(15), five.times(3));
	}
	@Test
	public void testFrancMultiplication() 
	{
		Franc five= new Franc(5);
		assertEquals(new Franc(10), five.times(2));
		assertEquals(new Franc(15), five.times(3));
	}
	@Test
	public void testEquality() 
	{
		assertTrue(new Dollar(5).equals(new Dollar(5)));
		assertFalse(new Dollar(5).equals(new Dollar(6)));
	}
}

Include all test cases in one test class