Package objective.common_objective
Class Algo12Test
java.lang.Object
objective.common_objective.Algo12Test
class that test the twelfth algorithm, five columns of increasing height or descending:
starting from the first column left or right, each successive column it must be formed by an extra tile.
Tiles can be of any type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Five columns descendingvoid
Less than five columnsvoid
Five columns descending: not decrease by one cardsvoid
Five columns descending whit different colorsvoid
Five columns descending: not decrease correctlyvoid
Five columns crescent with different colorsvoid
Five columns crescent: grows wronglyvoid
Five columns crescent from row 1 and skipping a column (False)void
Five columns crescent from row 1 (False)void
Five columns descending, ending in a zero-column (False)void
setUp()
method executed before every test that create a new algorithm
-
Constructor Details
-
Algo12Test
public Algo12Test()
-
-
Method Details
-
setUp
public void setUp()method executed before every test that create a new algorithm -
algo12_test1_general_decrescent
public void algo12_test1_general_decrescent()Five columns descending
testing library:
matrix P P P P P P P P P P P P P P P -
algo12_test2_general_F_decrescent
public void algo12_test2_general_F_decrescent()Five columns descending: not decrease by one cards
testing library:
matrix P P P P P P P P P P P P P P -
algo12_test3_general_digdecrescent
public void algo12_test3_general_digdecrescent()Five columns descending whit different colors
testing library:
matrix W W P P P W P W P P W P P P P P P P P P -
algo12_test4_general_F_digdecrescent
public void algo12_test4_general_F_digdecrescent()Five columns descending: not decrease correctly
testing library:
matrix W P W P P P W P W P P W P P P P P P P P P -
algo12_test5_general_crescent
public void algo12_test5_general_crescent()Five columns crescent with different colors
testing library:
matrix W W B W W P W P P Y W P P P P P P P P P -
algo12_test6_general_F_crescent
public void algo12_test6_general_F_crescent()Five columns crescent: grows wrongly
testing library:
matrix W W B G W W P W P P Y W P P P P P P P P P -
algo12_test7_general_digcrescent
public void algo12_test7_general_digcrescent()Five columns crescent from row 1 and skipping a column (False)
testing library:
matrix P P B P W P P P P Y P P P P P P P P P -
algo12_test8_general_F_digcrescent
public void algo12_test8_general_F_digcrescent()Five columns crescent from row 1 (False)
testing library:
matrix G P P B P W P P P P Y P P P P P P P P P P -
algo12_test9_general_dicrescent2
public void algo12_test9_general_dicrescent2()Five columns descending, ending in a zero-column (False)
testing library:
matrix B W W B P P P P P P -
algo12_test10_general_dicrescent3
public void algo12_test10_general_dicrescent3()Less than five columns
testing library:
matrix W B P P P P
-