@@ -0,0 +1,1099 @@
+package net.zero918nobita.Xemime;%0A%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0Aimport org.junit.rules.ExpectedException;%0A%0Aimport java.util.ArrayList;%0A%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A/**%0A * net.zero918nobita.Xemime.X_String %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_StringTest %7B%0A    @Rule%0A    public ExpectedException expectedException = ExpectedException.none();%0A%0A    @Test%0A    public void testAdd() throws Exception %7B%0A        assertThat(new X_String(0, %22hello, %22).add(0, new X_String(0, %22world!%22)),%0A                is(new X_String(0, %22hello, world!%22)));%0A    %7D%0A%0A    @Test%0A    public void testAdd2() throws Exception %7B%0A        expectedException.expect(Exception.class);%0A        expectedException.expectMessage(%220: String%E5%9E%8B%E3%82%AA%E3%83%96%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%AB%E4%BB%96%E3%81%AE%E5%9E%8B%E3%81%AE%E3%82%AA%E3%83%96%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%82%92%E5%8A%A0%E7%AE%97%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%81%AF%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%9B%E3%82%93%22);%0A        new X_String(0, %22foo%22).add(0, new X_Int(0, 2));%0A    %7D%0A%0A    @Test%0A    public void testLength() throws Exception %7B%0A        assertThat(new X_String(0, %22foo%22).message(0, X_Symbol.intern(0, %22length%22), new ArrayList%3C%3E()),%0A                is(new X_Int(0, 3)));%0A    %7D%0A%7D%0A

Add X_StringTest