add check for duplicate passage in story with tests
closes: #13 (closed)
What are the key features of this change
Fix a bug where it was possible to add passages with the same title in a story. Tests for checking equality of a passage within a story in the addPassage method has been added.
Checklist
-
Javadoc -
Relevant tests have been created -
Build tool test passed -
Class version is updated where relevant
Edited by Carl Gützkow