Commit 5d933077 authored by Christoph Thelen's avatar Christoph Thelen

Add unit testing

parent 255e1b69
......@@ -3,7 +3,7 @@
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
<module fileurl="file://$PROJECT_DIR$/tippy_1.1.3.iml" filepath="$PROJECT_DIR$/tippy_1.1.3.iml" />
<module fileurl="file://$PROJECT_DIR$/sst-tippytipper.iml" filepath="$PROJECT_DIR$/sst-tippytipper.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
......@@ -24,4 +24,5 @@ android {
dependencies {
implementation files('libs/FlurryAgent.jar')
testImplementation 'junit:junit:4.12'
}
package net.mandaria.tippytipper.services;
import org.junit.Test;
import static junit.framework.Assert.assertTrue;
import static junit.framework.Assert.fail;
public class TipCalculatorServiceTest {
@Test
public void testShouldFail() {
TipCalculatorService t = new TipCalculatorService();
fail(":-(");
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment