public void TestDirectives() { Skip skip = new Skip("state"); Include include = new Include("active"); Assert.AreEqual("@skip(if:$state)", skip.Convert()); Assert.AreEqual("@include(if:$active)", include.Convert()); }
public void TestDirectiveWithFabricDirective() { Skip skip = Directive.Skip("state"); Include include = Directive.Include("active"); Assert.AreEqual("@skip(if:$state)", skip.Convert()); Assert.AreEqual("@include(if:$active)", include.Convert()); }