From 2991e326824c4cc551cf58af6ea84b300a4ae4c1 Mon Sep 17 00:00:00 2001 From: ernisto Date: Sat, 15 Mar 2025 12:00:32 -0300 Subject: [PATCH] style: improve commented graph illustrations --- test/tests.luau | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/test/tests.luau b/test/tests.luau index d1995b7..7e22e83 100644 --- a/test/tests.luau +++ b/test/tests.luau @@ -106,7 +106,7 @@ TEST("graph", function() do CASE "diamond graph" -- a -> b -> d - -- -> c + -- 🡖 c 🡕 local root = node() local a, b, c, d = node(), node(root), node(root), node(root) @@ -2520,7 +2520,7 @@ TEST("graph edge cases", wrap_root(function() do CASE "brother requires older brother" --[[ A - ^ ^ + 🡕 🡔 B <-- C ]] @@ -2543,8 +2543,9 @@ TEST("graph edge cases", wrap_root(function() do CASE "diamond A,B,C,D" --[[ - a > b > d - > c > + a -> b -> d + 🡖 🡕 + c ]] @@ -2575,9 +2576,9 @@ TEST("graph edge cases", wrap_root(function() do CASE "diamond A,B,C,D,E" --[[ - a > b > e - > c > d > - + a -> b -> e + 🡖 🡕 + c --> d ]] local a = source(0)