Skip to content

Commit

Permalink
Add DDAutortshipEdge getter tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LucoMoro committed Feb 28, 2024
1 parent 9328a9b commit abbfd83
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/DiscOrDance-Model-Tests/DDAutorshipEdgeTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ DDAutorshipEdgeTest >> testMessage [

{ #category : #test }
DDAutorshipEdgeTest >> testNode1 [
"This method checks if node1's getter works without giving any input"

| aDDAutorshipEdge |
aDDAutorshipEdge := DDAutorshipEdge new.

self assert: aDDAutorshipEdge node1 equals: nil.
]

{ #category : #test }
DDAutorshipEdgeTest >> testNode1_2 [
"This method checks if node1's getter and setter works given an input"

| aDDAutorshipEdge |
Expand All @@ -45,6 +55,16 @@ DDAutorshipEdgeTest >> testNode1 [

{ #category : #test }
DDAutorshipEdgeTest >> testNode2 [
"This method checks if node2's getter works without giving any input"

| aDDAutorshipEdge |
aDDAutorshipEdge := DDAutorshipEdge new.

self assert: aDDAutorshipEdge node2 equals: nil.
]

{ #category : #test }
DDAutorshipEdgeTest >> testNode2_2 [
"This method checks if node2's getter and setter works without giving any input"

| aDDAutorshipEdge |
Expand Down

0 comments on commit abbfd83

Please sign in to comment.