-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- simple unit test - update app build.gradle - run unit test and build in pipeline
- Loading branch information
1 parent
381ca96
commit ad72a28
Showing
3 changed files
with
45 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.eipsaferoad.owl | ||
|
||
import org.junit.Assert.assertEquals | ||
import org.junit.Test | ||
|
||
class OwlTest { | ||
|
||
@Test | ||
fun testAddition() { | ||
// Arrange | ||
val number1 = 1 | ||
val number2 = 1 | ||
|
||
// Act | ||
val sum = number1 + number2 | ||
|
||
// Assert | ||
assertEquals(2, sum) | ||
} | ||
} |