Package objective.common_objective
Class Algo7Test
java.lang.Object
objective.common_objective.Algo7Test
class that test the seventh algorithm, two groups of four cards of the same color: cards of two groups must be of the same color
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Two groups of four cards with different colorsvoid
One group of six cards with the same colorvoid
Two group of six cards with the same colorvoid
One group of four cards with the same colorvoid
Two group of six cards with the same color (corner case)void
Two group of six cards with the same color (corner case)void
Two group of six cards with the same color (corner case)void
setUp()
method executed before every test that create a new algorithm
-
Constructor Details
-
Algo7Test
public Algo7Test()
-
-
Method Details
-
setUp
public void setUp()method executed before every test that create a new algorithm -
algo7_test1_F
public void algo7_test1_F()Two groups of four cards with different colors
testing library:
matrix P P G G Y P P Y C C Y B B P Y P P P G G C C P G G P P -
algo7_test2_F_3x3
public void algo7_test2_F_3x3()One group of six cards with the same color
testing library:
matrix P P P G Y P P P Y C C Y B B P Y P P P G G C C P G G P P -
algo7_test3_T_3x3_same_colors
public void algo7_test3_T_3x3_same_colors()Two group of six cards with the same color
testing library:
matrix P P P G Y P P P Y C C Y B B P Y P P P G G P P P G G P P -
algo7_test4_only_one_square
public void algo7_test4_only_one_square()One group of four cards with the same color
testing library:
matrix P P G G Y P P Y C C Y B B P Y P P P G G C C P P G P P -
algo7_test5_strangeshape
public void algo7_test5_strangeshape()Two group of six cards with the same color (corner case)
testing library:
matrix P P G P P P P G P P P P G P P -
algo7_test6_strangeshape2
public void algo7_test6_strangeshape2()Two group of six cards with the same color (corner case)
testing library:
matrix P G P P P P P P P P P P -
algo7_test7_strangeshape3
public void algo7_test7_strangeshape3()Two group of six cards with the same color (corner case)
testing library:
matrix P G G P P P P G P P P P G P P
-