Class Algo4Test

java.lang.Object
objective.common_objective.Algo4Test

public class Algo4Test extends Object
class that test the fourth algorithm, four row with five cards of one, two or three different colors
  • Constructor Details

    • Algo4Test

      public Algo4Test()
  • Method Details

    • setUp

      public void setUp()
      method executed before every test that create a new algorithm
    • algo4_test1_T_general

      public void algo4_test1_T_general()

      Four row with three different colors

      testing library:

      matrix
      PGGGY
      BB   Y   
      CCYBB
      PYGPP
      PP   CC
      PGGPP
    • algo4_test2_F_3_rows

      public void algo4_test2_F_3_rows()

      Three row with three different colors

      testing library:

      matrix
      PG   GY
      BB   Y   
      CC   BB
      PYGPP
      PP   CC
      PGGPP
    • algo4_test3_F_more_3_types

      public void algo4_test3_F_more_3_types()

      Four row with more than three different colors (False)

      testing library:

      matrix
      PGGWY
      BB   Y   
      CCYBB
      PYGPP
      PPGCC
      PG   PP