package com.sibisoft.faizaniftikhartdd;

import static org.junit.Assert.*;

import org.junit.Test;

public class DollarTestV2 
{

	@Test
	public void testMultiplication() 
	{
			Dollar five= new Dollar(5);
			Dollar container1 = five.times(2);
			assertEquals(10, container1.amount);
			Dollar container2 = five.times(3);
			assertEquals(15, container2.amount);
	}
}

@@ -271,10 +271,22 @@
 als(
+new Dollar(
 10
+)
 , co
@@ -297,29 +297,15 @@
 ner1
-.amount);%0D%0A%09%09%09Dollar 
+);%0D%0A%09%09%09
 cont
@@ -309,17 +309,17 @@
 ontainer
-2
+1
  = five.
@@ -349,10 +349,22 @@
 als(
+new Dollar(
 15
+)
 , co
@@ -374,16 +374,9 @@
 iner
-2.amount
+1
 );%0D%0A

Compare assertion with Dollat to Dollar