-
Notifications
You must be signed in to change notification settings - Fork 13
Remove ContainingBeats since it has been used only in tests. #335
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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() { |
There was a problem hiding this comment.
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") |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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.
No description provided.