import test from 'ava';
import { Edge } from '../lib';

test ('serialize', (t) => {
  const e = new Edge ('foo', 'bar');
  const serialized = e.toString ();
  t.is (serialized, 'foo -> bar');
});