@@ -0,0 +1,1077 @@
+package net.zero918nobita.Xemime;%0A%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0Aimport org.junit.rules.ExpectedException;%0A%0Aimport static org.junit.Assert.assertThat;%0Aimport static org.hamcrest.CoreMatchers.is;%0A%0A/**%0A * net.zero918nobita.Xemime.X_Symbol %E3%81%AE%E3%83%86%E3%82%B9%E3%83%88%E3%82%AF%E3%83%A9%E3%82%B9%E3%81%A7%E3%81%99%E3%80%82%0A * @author Kodai Matsumoto%0A */%0A%0Apublic class X_SymbolTest %7B%0A    @Rule%0A    public ExpectedException expectedException = ExpectedException.none();%0A%0A    @Test%0A    public void testRun() throws Exception %7B%0A        expectedException.expect(Exception.class);%0A        expectedException.expectMessage(%22%E3%82%B7%E3%83%B3%E3%83%9C%E3%83%AB %60unknown%60 %E3%81%AF%E5%AE%9A%E7%BE%A9%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93%22);%0A        X_Symbol symbol = X_Symbol.intern(%22unknown%22);%0A        symbol.run();%0A    %7D%0A%0A    @Test%0A    public void testRun2() throws Exception %7B%0A        Main.defValue(X_Symbol.intern(%22variable%22), new X_Symbol(%22value%22));%0A        X_Symbol symbol = X_Symbol.intern(%22variable%22);%0A        assertThat(symbol.run().toString(), is(%22value%22));%0A    %7D%0A%0A    @Test%0A    public void testToString() %7B%0A        X_Symbol symbol = X_Symbol.intern(%22sample%22);%0A        assertThat(symbol.toString(), is(%22sample%22));%0A    %7D%0A%7D%0A

Add X_SymbolTest