Ad
  • Default User Avatar

    No test cases for [queen, bishop] solutions: example of one:

    `
    test case
    test.assert_equals(

    promotion(
      [
        [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], 
        [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], 
        [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], 
        [' ', ' ', ' ', ' ', ' ', ' ', 'K', ' '], 
        [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], 
        [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], 
        [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], 
        [' ', ' ', 'P', ' ', ' ', ' ', ' ', ' ']
      ]
    ), 
    ["queen","bishop"]
    

    )

    `