GitBucket
4.23.0
Toggle navigation
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
sample-java
/
sample-junit1
Browse code
メソッド名を修正。
master
1 parent
74b0f54
commit
96163ff35c0b4087fc657f28be6d6e35c21ce15c
yhornisse
authored
on 28 Dec 2019
Patch
Showing
1 changed file
src/test/java/com/sample/AppTest.java
Ignore Space
Show notes
View
src/test/java/com/sample/AppTest.java
package com.sample; import org.junit.Test; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; /** * Unit test for simple App. */ public class AppTest { /** * "Hello" であること。 */ @Test public void case1() { assertThat("Hello", is("Hello")); } /** * 1 であること。 */ @Test public void case2() { assertThat(1, is(1)); } }
package com.sample; import org.junit.Test; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; /** * Unit test for simple App. */ public class AppTest { /** * "Hello" であること。 */ @Test public void case1() { assertThat("Hello", is("Hello")); } /** * 1 であること。 */ @Test public void case3() { assertThat(1, is(1)); } }
Show line notes below