Migrating PhoneInterface (Irrigation and SpeakerLocator) from old to new Nexus 5X...
[iot2.git] / benchmarks / other / PhoneInterface / Irrigation / app / src / test / java / com / example / xubin / irrigation / ExampleUnitTest.java
diff --git a/benchmarks/other/PhoneInterface/Irrigation/app/src/test/java/com/example/xubin/irrigation/ExampleUnitTest.java b/benchmarks/other/PhoneInterface/Irrigation/app/src/test/java/com/example/xubin/irrigation/ExampleUnitTest.java
new file mode 100644 (file)
index 0000000..376437c
--- /dev/null
@@ -0,0 +1,15 @@
+package com.example.xubin.irrigation;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+/**
+ * To work on unit tests, switch the Test Artifact in the Build Variants view.
+ */
+public class ExampleUnitTest {
+    @Test
+    public void addition_isCorrect() throws Exception {
+        assertEquals(4, 2 + 2);
+    }
+}
\ No newline at end of file