Skip to content

Instantly share code, notes, and snippets.

@SDiamante13
Created July 27, 2022 20:56
Show Gist options
  • Select an option

  • Save SDiamante13/fb486702ab12afe4a2d9c325b2cc4a7f to your computer and use it in GitHub Desktop.

Select an option

Save SDiamante13/fb486702ab12afe4a2d9c325b2cc4a7f to your computer and use it in GitHub Desktop.
Leap Year Kata: Rename test method to make obvious the behavior under test.
package tech.pathtoprogramming.tdd;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
class AYearShould {
@Test
void determineThatTheYearIsNotALeapYearForCommonCase() {
assertThat(true).isEqualTo(true);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment