public void IsExistTest3() { UVars target = new UVars(); target.SetVariable("name", "project", "val"); Assert.True(target.IsExist("name", "project")); }
public override string GetPropValue(string name, string project) { if (UVars.IsExist(name, project)) { return(GetUVarValue(name, project)); } return($"[P~{name}~{project}]"); }
public void IsExistTest2() { UVars target = new UVars(); Assert.False(target.IsExist("name")); }
public void IsExistTest1() { UVars target = new UVars(); Assert.False(target.IsExist("name", "project")); }