예제 #1
0
 public Io_line_rdr_fxt tst_Read_til_lines(int count, String... expd) {
   lines.Clear();
   for (int i = 0; i < expd.length; i++) expd[i] = expd[i] + Op_sys.Lnx.Nl_str();
   for (int i = 0; i < count; i++) {
     if (rdr.Read_next())
       lines.Add(String_.new_u8(rdr.Bfr(), rdr.Itm_pos_bgn(), rdr.Itm_pos_end()));
     else break;
   }
   Tfds.Eq_ary_str(expd, lines.To_str_ary());
   return this;
 }
예제 #2
0
 private void Tst_parse(String raw, String[] expd) {
   Xoi_mirror_parser parser = new Xoi_mirror_parser();
   Tfds.Eq_ary_str(expd, parser.Parse(raw));
 }