Skip to content

Commit

Permalink
test: πŸ’ add missed test of similarityProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanonymous-GitHub committed Jul 23, 2024
1 parent d8db82b commit 72ff18e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/src/test/kotlin/GumTreeTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,11 @@ internal class GumTreeTest {
val actualPositionOfParent = givenTree.positionOfParent
assertEquals(givenPositionOfParent, actualPositionOfParent)
}

@Test
fun `test similarityProperties`() {
val actualSimilarityProperties = givenTree.similarityProperties()
val expectedSimilarityProperties = "<$givenTreeLabel>[$givenTreeType]<"
assertEquals(expectedSimilarityProperties, actualSimilarityProperties)
}
}

0 comments on commit 72ff18e

Please sign in to comment.