package water.fvec;
import org.junit.*;
import water.*;
public class StringTest extends TestUtil {
@BeforeClass public static void stall() { stall_till_cloudsize(1); }
// ==========================================================================
/*@Test*/ public void testBasicCRUD() {
// Parse a file with many broken enum/string columns
Key k = Key.make("zip.hex");
try {
Frame fr = TestUtil.parseFrame(k,"smalldata/zip_code/zip_code_database.csv.gz");
System.out.println(fr);
StringBuilder sb = new StringBuilder();
String[] fs = fr.toStringHdr(sb);
int lim = Math.min(40,(int)fr.numRows());
for( int i=0; i<lim; i++ )
fr.toString(sb,fs,i);
System.out.println(sb.toString());
} finally {
UKV.remove(k);
}
}
@Test @Ignore public void dummy_test() {
/* this is just a dummy test to avoid JUnit complains about missing test */
}
}