summaryrefslogtreecommitdiff
path: root/examples/llama.android/llama/src/test/java
diff options
context:
space:
mode:
authorElton Kola <eltonkola@gmail.com>2024-05-25 04:11:33 -0400
committerGitHub <noreply@github.com>2024-05-25 11:11:33 +0300
commit9791f402580838d7f8543ae7bc633ef265e436f0 (patch)
tree861c68d5eaec71f119f688c7975948f06b73ffb7 /examples/llama.android/llama/src/test/java
parent902184dd3a9d6685e752b19027a48423742531db (diff)
android : module (#7502)
* move ndk code to a new library * add gradle file
Diffstat (limited to 'examples/llama.android/llama/src/test/java')
-rw-r--r--examples/llama.android/llama/src/test/java/android/llama/cpp/ExampleUnitTest.kt17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/llama.android/llama/src/test/java/android/llama/cpp/ExampleUnitTest.kt b/examples/llama.android/llama/src/test/java/android/llama/cpp/ExampleUnitTest.kt
new file mode 100644
index 00000000..cbbb974d
--- /dev/null
+++ b/examples/llama.android/llama/src/test/java/android/llama/cpp/ExampleUnitTest.kt
@@ -0,0 +1,17 @@
+package android.llama.cpp
+
+import org.junit.Test
+
+import org.junit.Assert.*
+
+/**
+ * Example local unit test, which will execute on the development machine (host).
+ *
+ * See [testing documentation](http://d.android.com/tools/testing).
+ */
+class ExampleUnitTest {
+ @Test
+ fun addition_isCorrect() {
+ assertEquals(4, 2 + 2)
+ }
+}