blob: 8436e7febcb2a0046567b04572c96dd8c486fb6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package bjc.inflexion;
import org.junit.Test;
import static org.junit.Assert.*;
import static bjc.inflexion.InflectionML.inflect;
public class InflectionMLTest {
@Test
public void testNumDirective() {
assertEquals("no results", inflect("<#n:0> <N:results>"));
assertEquals("7 results", inflect("<#n:7> <N:results>"));
}
}
|