// Path: src/main/java/org/gnubridge/core/deck/Ace.java
// public class Ace {
// 	public static Card of(Suit denomination) {
// 		return new Card("A", denomination);
// 	}
// 
// 	public static boolean isValueOf(Card card) {
// 		return card.getValue() == Card.strToIntValue("A");
// 	}
// 
// }
// 
// Path: src/main/java/org/gnubridge/core/deck/Hearts.java
// public class Hearts extends Suit {
// 
// 	private static Hearts instance;
// 
// 	private Hearts() {
// 		super();
// 	}
// 	
// 	public static Hearts i() {
// 		if (instance == null) {
// 			instance = new Hearts();
// 		}
// 		return instance ;
// 	}
// 
// 	@Override
// 	public String toString() {
// 		return "HEARTS";
// 	}
// 	
// 	@Override
// 	public String toDebugString() {
// 		return "Hearts.i()";
// 	}
// 
// }


import java.util.List;
import junit.framework.TestCase;
import org.gnubridge.core.deck.Ace;
import org.gnubridge.core.deck.Clubs;
import org.gnubridge.core.deck.Diamonds;
import org.gnubridge.core.deck.Hearts;
import org.gnubridge.core.deck.King;
import org.gnubridge.core.deck.Three;
import org.gnubridge.core.deck.Two;
package org.gnubridge.core;




public class HandTest extends TestCase {
  
  public void testGetColorLength() {
	Hand h = new Hand("", "", "4,3,2", "A,K");
	assertEquals(0, h.getSuitLength(Hearts.i()));
	assertEquals(3, h.getSuitLength(Diamonds.i()));
  }
  
  public void testGetColor() {
// Path: src/main/java/org/gnubridge/core/deck/Ace.java
// public class Ace {
// 	public static Card of(Suit denomination) {
// 		return new Card("A", denomination);
// 	}
// 
// 	public static boolean isValueOf(Card card) {
// 		return card.getValue() == Card.strToIntValue("A");
// 	}
// 
// }
// 
// Path: src/main/java/org/gnubridge/core/deck/Hearts.java
// public class Hearts extends Suit {
// 
// 	private static Hearts instance;
// 
// 	private Hearts() {
// 		super();
// 	}
// 	
// 	public static Hearts i() {
// 		if (instance == null) {
// 			instance = new Hearts();
// 		}
// 		return instance ;
// 	}
// 
// 	@Override
// 	public String toString() {
// 		return "HEARTS";
// 	}
// 	
// 	@Override
// 	public String toDebugString() {
// 		return "Hearts.i()";
// 	}
// 
// }


// Path: src/test/java/org/gnubridge/core/HandTest.java
import java.util.List;
import junit.framework.TestCase;
import org.gnubridge.core.deck.Ace;
import org.gnubridge.core.deck.Clubs;
import org.gnubridge.core.deck.Diamonds;
import org.gnubridge.core.deck.Hearts;
import org.gnubridge.core.deck.King;
import org.gnubridge.core.deck.Three;
import org.gnubridge.core.deck.Two;

package org.gnubridge.core;




public class HandTest extends TestCase {
  
  public void testGetColorLength() {
	Hand h = new Hand("", "", "4,3,2", "A,K");
	assertEquals(0, h.getSuitLength(Hearts.i()));
	assertEquals(3, h.getSuitLength(Diamonds.i()));
  }
  
  public void testGetColor() {
	  Hand h = new Hand(King.of(Hearts.i()), Two.of(Diamonds.i()), Ace.of(Diamonds.i()), Three.of(Clubs.i()), Three.of(Diamonds.i()));