package com.nullprogram.guide;

import com.nullprogram.guide.Arch;
import com.nullprogram.guide.NativeGuide;
import junit.framework.TestCase;

public class NativeGuideTest extends TestCase {

    public final void testIsArchitecture() {
        String root = "/com/nullprogram/guide/";
        try {
            NativeGuide.prepare(Arch.LINUX_32,   root + "linux32/libguide.so");
            NativeGuide.prepare(Arch.LINUX_64,   root + "linux64/libguide.so");
            NativeGuide.prepare(Arch.WINDOWS_32, root + "windows32/guide.dll");
            NativeGuide.prepare(Arch.WINDOWS_64, root + "windows64/guide.dll");
            System.loadLibrary("guide");
        } catch (java.io.IOException e) {
            fail("Could not prepare library: " + e);
        }
    }
}

@@ -234,57 +234,8 @@
 ) %7B%0A
-        String root = %22/com/nullprogram/guide/%22;%0A
     
@@ -292,23 +292,16 @@
 UX_32,  
- root +
  %22linux3
@@ -365,23 +365,16 @@
 UX_64,  
- root +
  %22linux6
@@ -438,23 +438,16 @@
 DOWS_32,
- root +
  %22window
@@ -515,15 +515,8 @@
 _64,
- root +
  %22wi

Tidy up the unit test a little.