[Test] public void TraceWithReasonAndInner2() { var t0 = new T("SetPos", next: null, reason: "Teleport"); var t1 = new T("Reposition", next: t0, reason: null); o(F.LogTrace(t0), "SetPos (Teleport)"); o(F.LogTrace(t1), "Reposition -> SetPos (Teleport)"); }
[Test] public void Prefix() { var t = new T("SetPos", next: null, reason: null); t.Prefix('!'); o(F.LogTrace(t), "!SetPos"); t.Prefix('+'); o(F.LogTrace(t), "+!SetPos"); }
[Test] public void TraceDecoratorWithReason() { var t = new T(new Cooldown(), next: null, reason: "[5] Steer"); o(F.LogTrace(t), "<C> [5] Steer"); }
[Test] public void TraceWithReasonAndFormatArgs() { var t = new T("SetPos", next: null, reason: "Teleport here"); o(F.LogTrace(t), "SetPos (Teleport here)"); }
[Test] public void TraceWithReason() { var t = new T("SetPos", next: null, reason: "Teleport"); o(F.LogTrace(t), "SetPos (Teleport)"); }
[Test] public void LogTrace() { var t = new T("SetPos", next: null, reason: null); o(F.LogTrace(t), "SetPos"); }
[Test] public void LogTrace_null() { o(F.LogTrace(null), "?trace"); }