var expect = require("./chai").expect,
    readMany = require("..").readMany;

describe("readMany", function() {
  it("can read multiple graphs", function() {
    var gs = readMany("digraph {} graph {}");
    expect(gs).to.have.length(2);
    expect(gs[0].isDirected()).to.be.true;
    expect(gs[1].isDirected()).to.be.false;
  });
});

