This repository has been archived by the owner on Mar 15, 2024. It is now read-only.
-
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.
Merge pull request #90 from iden3/feature/android
Feature/android
- Loading branch information
Showing
3 changed files
with
19 additions
and
1 deletion.
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
File renamed without changes.
11 changes: 10 additions & 1 deletion
11
...com/iden3/iden3coreapi/ExampleUnitTest.kt → ...com/iden3/iden3coreapi/ExampleUnitTest.kt
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 |
---|---|---|
@@ -1,17 +1,26 @@ | ||
package com.iden3.iden3coreapi | ||
|
||
import android.content.Context | ||
import org.junit.Test | ||
|
||
import org.junit.Assert.* | ||
import androidx.test.core.app.ApplicationProvider | ||
|
||
/** | ||
* Example local unit test, which will execute on the development machine (host). | ||
* | ||
* See [testing documentation](http://d.android.com/tools/testing). | ||
*/ | ||
class ExampleUnitTest { | ||
val context = ApplicationProvider.getApplicationContext<Context>() | ||
|
||
@Test | ||
fun addition_isCorrect() { | ||
assertEquals(4, 2 + 2) | ||
} | ||
|
||
@Test | ||
fun testIden3CoreAPI() { | ||
val iden3CoreAPI = Iden3CoreAPI.instance | ||
assertTrue(iden3CoreAPI != null) | ||
} | ||
} |