1 package org.craftedsw.romannumerals;
3 import static org.craftedsw.romannumerals.RomanNumeralGenerator.romanFor;
4 import static org.hamcrest.core.Is.is;
5 import static org.junit.Assert.assertThat;
9 public class RomanNumeralsGeneratorShould {
12 generate_roman_numeral_for_a_given_decimal_number() {
16 // You must always start from the assert!!!
17 // Method's name must describe what the assert is doing!!!
18 assertThat(romanFor(1), is("I"));
19 assertThat(romanFor(2), is("II"));