summaryrefslogtreecommitdiff
path: root/examples/llama.android/llama/src/test/java
diff options
context:
space:
mode:
authorElton Kola <eltonkola@gmail.com>2024-05-14 03:30:30 -0400
committerGitHub <noreply@github.com>2024-05-14 17:30:30 +1000
commitefc8f767c8c8c749a245dd96ad4e2f37c164b54c (patch)
tree4c2910c9f7b3fcd27fbc1d04dd5188be962a8a5d /examples/llama.android/llama/src/test/java
parente0f556186b6e1f2b7032a1479edf5e89e2b1bd86 (diff)
move ndk code to a new library (#6951)
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)
+ }
+}