Skip to content

Commit 895e71f

Browse files
committed
Add a test case for tracking visit counts of node groups
1 parent 53621d7 commit 895e71f

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
line: `Visited: False`
2+
line: `Visit Count: 0`
3+
4+
line: `I'm a node group`
5+
line: `Visited: True`
6+
line: `Visit Count: 1`
7+
8+
line: `I'm a node group`
9+
line: `Visited: True`
10+
line: `Visit Count: 2`
11+
12+
line: `I'm a node group`
13+
line: `Visited: True`
14+
line: `Visit Count: 3`
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
title: Start
2+
---
3+
Visited: {visited("NodeGroup")}
4+
Visit Count: {visited_count("NodeGroup")}
5+
<<detour NodeGroup>>
6+
Visited: {visited("NodeGroup")}
7+
Visit Count: {visited_count("NodeGroup")}
8+
<<detour NodeGroup>>
9+
Visited: {visited("NodeGroup")}
10+
Visit Count: {visited_count("NodeGroup")}
11+
<<detour NodeGroup>>
12+
Visited: {visited("NodeGroup")}
13+
Visit Count: {visited_count("NodeGroup")}
14+
===
15+
title: NodeGroup
16+
when: always
17+
---
18+
I'm a node group
19+
===

0 commit comments

Comments
 (0)