Class Algo1Test

java.lang.Object
objective.common_objective.Algo1Test

public class Algo1Test extends Object

class that test the first algorithm, six group of a couple of cards of the same type

  • Constructor Details

    • Algo1Test

      public Algo1Test()
  • Method Details

    • setUp

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

      public void algo1_test1_T_general()

      Six couple of cards with the same type

      testing library:

      matrix
      PPGGY
      BB Y
      CCYBB
      PYGPP
      PP CC
      PGGPP
    • algo1_test2_F_general

      public void algo1_test2_F_general()

      Five cuople of cards with the same type

      testing library:

      matrix
      P GY
      B Y
      CY B
      PYGPP
      PP CC
      PGGPP
    • algo1_test3_T_three

      public void algo1_test3_T_three()

      One of the cuople is made by tre cards and six cuople

      testing library:

      matrix
      P GGY
      BBBY
      CCY B
      PYGPP
      PP C
      PGG P
    • algo1_test4_F_three

      public void algo1_test4_F_three()

      One of the cuople is made by tre cards and five cuople

      testing library:

      matrix
      P GY
      BBBY
      CCY B
      PYGPP
      PP C
      PGG P
    • algo1_test5_T_L

      public void algo1_test5_T_L()

      Three cards make an L, six couple

      testing library:

      matrix
      P GGY
      BB Y
      C YYB
      PYGPP
      PP C
      PGG P
    • algo1_test6_F_L

      public void algo1_test6_F_L()

      Three cards make an L, five couple

      testing library:

      matrix
      P GGY
      B BY
      C YYB
      PYGPP
      PP C
      PGG P
    • algo1_test7_6couple

      public void algo1_test7_6couple()

      Six couple of different types of cards

      testing library:

      matrix
                     
                     
                     
      PP
      PBYCG
      PBYCG
    • algo1_test8_6couple2

      public void algo1_test8_6couple2()

      Six couple of same type of cards

      testing library:

      matrix
      BB BB
                     
      BB
      B
      B B B
      B B B
    • algo1_test9_6couple3

      public void algo1_test9_6couple3()

      Six couple of three different type of cards

      testing library:

      matrix
      Y
      YBGYB
      GYBGY
      BGYBG
      PBYCC
      PBYGG
    • algo1_test10_6couple4

      public void algo1_test10_6couple4()

      Six groups of more than two cards

      testing library:

      matrix
      P
      PBBB
      PBYBB
      PBYPP
      PBYCG
      PBYCG
    • algo1_test11_5couple2

      public void algo1_test11_5couple2()

      Five couple of more than two cards

      testing library:

      matrix
      P P
      BBB
      BYBB
      BYPP
      BYCG
      PBYCG
    • algo1_test12_6diagonalcouple

      public void algo1_test12_6diagonalcouple()

      Six couple of cards on diagonal

      testing library:

      matrix
      CB         
      BC
      YG
      GY
      BP
      PB
    • algo1_test13_6rightcouple

      public void algo1_test13_6rightcouple()

      Six couple of cards

      testing library:

      matrix
      BB         
      CC
      GG
      YY
      CC
      BB