1 package net.sf.openrocket.l10n;
3 import static org.junit.Assert.assertEquals;
7 public class TestDebugTranslator {
10 public void testGetEnglish() {
11 DebugTranslator trans = new DebugTranslator(null);
12 assertEquals("[material:Paper (office)]", trans.get("material", "Paper (office)"));
17 public void testGetBase() {
18 DebugTranslator trans = new DebugTranslator(null);
19 assertEquals("Paper (office)", trans.getBaseText("material", "[material:Paper (office)]"));
20 assertEquals("Papier (toilet)", trans.getBaseText("material", "Papier (toilet)"));