2020-04-24 12:02:32 +02:00

9 lines
196 B
TypeScript

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');
});