Skip to content

Update rectangles version file and add test. Closes #1372#1394

Merged
FridaTveit merged 4 commits into
exercism:masterfrom
tendaitt:master
Apr 12, 2018
Merged

Update rectangles version file and add test. Closes #1372#1394
FridaTveit merged 4 commits into
exercism:masterfrom
tendaitt:master

Conversation

@tendaitt
Copy link
Copy Markdown
Contributor

  • Update version file to 1.1.0
  • Add test to verify no rectangle when there are no columns
  • Fix test naming to match canonical data

Reviewer Resources:

Track Policies

Copy link
Copy Markdown
Contributor

@FridaTveit FridaTveit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks @tendaitt! 🙂 Only a minor indentation thing to be fixed and then it's ready to merge 🙂

public void testInputWithNoColumnsContainsNoRectangles() {
String[] inputGrid = new String[]{""};

assertEquals(0, rectangleCounter.countRectangles(inputGrid));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the indentation might be a bit off here? It should be indented with four spaces, same as the other tests 🙂

Copy link
Copy Markdown
Contributor

@FridaTveit FridaTveit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks @tendaitt! 😃

@FridaTveit FridaTveit merged commit 324c61c into exercism:master Apr 12, 2018
hgvanpariya pushed a commit to hgvanpariya/java that referenced this pull request May 13, 2018
…ercism#1394)

* update version file to 1.1.0

* add test to verify no rectangle when there are no rows

* fix test naming to match canonical data

* correct spacing for added test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants