public void InputNullWillBeEmpty() { string val = null; var actual = CommonMacros.Val(SdmapCompilerContext.CreateEmpty(), "", val, null); Assert.True(actual.IsSuccess); Assert.Equal(string.Empty, actual.Value); }
public void HelloWorld() { var val = "Hello World"; var actual = CommonMacros.Val(SdmapCompilerContext.CreateEmpty(), "", val, null); Assert.True(actual.IsSuccess); Assert.Equal(val, actual.Value); }