#include "catch.hpp"
#include "../src/Board.h"

TEST_CASE("Board class tests", "[Board]")
{
  SECTION("The constructor properly sets width and height of the board")
  {
    const int desired_width = 11;
    const int desired_height = 12;
    Board b(desired_width, desired_height);
    REQUIRE(desired_width == b.width());
    REQUIRE(desired_height == b.height());
  }
}

#include "catch.hpp"
#include "../src/Board.h"

TEST_CASE("Board class tests", "[Board]")
{
  SECTION("The constructor properly sets width and height of the board")
  {
    const int desired_width = 11;
    const int desired_height = 12;
    Board b(desired_height, desired_width);
    REQUIRE(desired_height == b.height());
    REQUIRE(desired_width == b.width());
  }
}

Fix the order of parameters in Board class tests
Fix the order of parameters in Board class tests

The height should be passed as a first parameter, and the width
as the second one. It used to be the other way, causing one of the test
to (rightly so!) fail. This commit fixes the order of both parameters
in order to reflect a recent change in Board implementation.
