public void ClearScope_RemovesVariables(ScriptEngineBase engine) { using (engine) { engine.SetVariable("x", 1); engine.ClearScope(); Assert.False(engine.ContainsVariable("x")); } }
public void ClearScope_RemovesVariables(ScriptEngineBase engine) { using (engine) { engine.SetVariable("x", 1); engine.ClearScope(); Assert.False(engine.ContainsVariable("x")); } }