8000 Removing "expression not used" warnings in test · codee/swift-algorithm-club@8df5124 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8df5124

Browse files
author
Chris Pilcher
committed
Removing "expression not used" warnings in test
1 parent b094e0f commit 8df5124
< 8000 /pre>

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AVL Tree/Tests/AVLTreeTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ class AVLTreeTests: XCTestCase {
8080

8181
func testSearchExistentOnSmallTreePerformance() {
8282
self.measure {
83-
self.tree?.search(input: 2)
83+
print(self.tree?.search(input: 2))
8484
}
8585
}
8686

8787
func testSearchExistentElementOnLargeTreePerformance() {
8888
self.measure {
8989
self.tree?.autopopulateWithNodes(500)
90-
self.tree?.search(input: 400)
90+
print(self.tree?.search(input: 400))
9191
}
9292
}
9393

0 commit comments

Comments
 (0)
0