Skip to content

Commit fa75550

Browse files
committed
test:Test file with known bugs.
1 parent ce3fa38 commit fa75550

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

xt/30-bugs.rakutest

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
use v6.d;
2+
use Test;
3+
4+
use Graph;
5+
6+
subtest {
7+
ok Graph.new(<1 2>, []);
8+
is Graph.new(<1 2>, []).vertex-list, <1 2>;
9+
10+
ok Graph.new(vertexes => ["1", "2"], edges => []);
11+
is Graph.new(vertexes => ["1", "2"], edges => []).vertex-list, <1 2>;
12+
}, "has vertexes and no edges graph";
13+
14+
done-testing;

0 commit comments

Comments
 (0)