Skip to content

Instantly share code, notes, and snippets.

@kamekoopa
Created March 3, 2015 01:41
Show Gist options
  • Save kamekoopa/5940e99e2d2fd2f797d9 to your computer and use it in GitHub Desktop.
Save kamekoopa/5940e99e2d2fd2f797d9 to your computer and use it in GitHub Desktop.
テスメソ
public class ListTest {
public static class WhenListHasElements{
@Test
public void shouldIndicatesNotEmpty() throws Exception {
//snip
}
}
public static class WhenListHasNoElements {
@Test
public void shouldIndicatesEmpty() throws Exception {
//snip
}
}
}
public class ListTest {
public static class リストに要素があるとき {
@Test
public void リストは空じゃない事を示す() throws Exception {
//略
}
}
public static class リストに要素がないとき {
@Test
public void リストは空を示す() throws Exception {
//略
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment