Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Conversation

@szirbucz
Copy link
Contributor

No description provided.

@szirbucz szirbucz requested a review from magwas July 15, 2019 06:36
Copy link
Member

@magwas magwas left a comment

Choose a reason for hiding this comment

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

I have just marked some places randomly.
And it is according to my own views, which should be synchronized.

}

@Test
public void beatInformation_gives_back_the_number_of_winnings_from_choice1_to_choice2() {
Copy link
Member

Choose a reason for hiding this comment

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

Where are these functionalities tested?

public void
beatInformation_throws_exception_when_getting_with_invalid_row_key() {
assertThrows(
() -> createNewBeatTableWithData().getElement(CHOICE1, "InvalidRow")
Copy link
Member

Choose a reason for hiding this comment

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

Test data in a unit test. Test data obtained through a method.

public void
beatInformation_throws_exception_when_getting_with_invalid_column_key() {
assertThrows(
() -> createNewBeatTableWithData().getElement("InvalidColumn", CHOICE1)
Copy link
Member

Choose a reason for hiding this comment

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

Test data in a unit test.

@Before
public void setUp() {
BeatTable beatTable = createNewBeatTableWithComplexData();
final BeatTable beatTable = createNewBeatTableWithComplexData();
Copy link
Member

Choose a reason for hiding this comment

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

Test data obtained through a method

public void transitive_closure_computes_the_shortest_paths_by_pairs() {
beatTable = beatTableTransitiveClosureService.computeTransitiveClosure(beatTable);
beatTable =
beatTableTransitiveClosureService.computeTransitiveClosure(beatTable);
Copy link
Member

Choose a reason for hiding this comment

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

Test data created in situ below.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants