import { Output } from './../io/output';

export class OutputTest extends Output {

  constructor () {
    super();
    this.list = [];
  }

  sendOutput (text) {
    const output = ''+text;
    output.split("\n").forEach(t => {
      t = t.replace(/\t/g,'  ');
      t = t.replace(/\s/g," ");
      this.list.push(t);
    },this);
    
  }
}