@@ -0,0 +1,771 @@
+package net.zero918nobita.Xemime;%0A%0Aimport org.junit.Test;%0A%0Aimport java.util.ArrayList;%0A%0Aimport static org.junit.Assert.*;%0Aimport static org.hamcrest.CoreMatchers.is;%0A%0A/**%0A * net.zero918nobita.Xemime.X_Int %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_IntTest %7B%0A    @Test%0A    public void testAbs() throws Exception %7B%0A        X_Int i = (X_Int) (new X_Minus(new X_Int(256))).run();%0A        X_Int abs = (X_Int) i.message(new X_Symbol(%22abs%22), new ArrayList%3C%3E());%0A        assertThat(i.getValue(), is(-256));%0A        assertThat(abs.getValue(), is(256));%0A    %7D%0A%0A    @Test%0A    public void testToS() throws Exception %7B%0A        X_String str = (X_String) new X_Int(2).message(new X_Symbol(%22to_s%22), new ArrayList%3C%3E());%0A        assertThat(str.toString(), is(%222%22));%0A    %7D%0A%7D%0A

Add X_IntTest