summaryrefslogtreecommitdiff
path: root/tikzit/src/common/test/parser.m
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@cs.ox.ac.uk>2013-02-04 11:55:17 +0000
committerAlex Merry <alex.merry@cs.ox.ac.uk>2013-02-04 11:55:17 +0000
commit5349460f6ba630d92ab61f4cbe1c04210e7684cc (patch)
treeffca8efdeb7e51477d6f90e93512f75432600c48 /tikzit/src/common/test/parser.m
parentf9bdbf93887313a79528696607d96140f33cbd84 (diff)
parent5afd392bb6ddde79f0518ffd913bd8c365bf39e6 (diff)
Merge branch 'master' into multi-docs
Diffstat (limited to 'tikzit/src/common/test/parser.m')
-rw-r--r--tikzit/src/common/test/parser.m11
1 files changed, 7 insertions, 4 deletions
diff --git a/tikzit/src/common/test/parser.m b/tikzit/src/common/test/parser.m
index 29dabe7..3346acd 100644
--- a/tikzit/src/common/test/parser.m
+++ b/tikzit/src/common/test/parser.m
@@ -34,7 +34,7 @@ void testParser() {
[TikzGraphAssembler setup];
- NodeStyle *rn = [NodeStyle defaultStyleWithName:@"rn"];
+ NodeStyle *rn = [NodeStyle defaultNodeStyleWithName:@"rn"];
NSArray *styles = [NSArray arrayWithObject:rn];
NSString *tikz =
@@ -74,9 +74,12 @@ void testParser() {
TEST(@"Edge has edge node", [e1 edgeNode]!=nil);
TEST(@"Edge node labeled correctly", [[[e1 edgeNode] label] isEqualToString:@"-"]);
- NSString *sty = [[[[[e1 edgeNode] data] atoms] objectEnumerator] nextObject];
- TEST(@"Edge node styled correctly", sty!=nil && [sty isEqualToString:@"tick"]);
-
+// NSString *sty = [[[[[e1 edgeNode] data] atoms] objectEnumerator] nextObject];
+// TEST(@"Edge node styled correctly", sty!=nil && [sty isEqualToString:@"tick"]);
+
+ PUTS(@"Source anchor: %@",[e1 sourceAnchor]);
+ PUTS(@"Target anchor: %@",[e1 targetAnchor]);
+
endTestBlock(@"parser");
[pool drain];