Exemplo n.º 1
0
        public void when_interop_GetVariables_expriment_and_return_the_alone_changedVariables()
        {
            varsReturn1 = new Dictionary <int, double>()
            {
                { 1, 20.0D }, { 2, 10 }, { 3, 5 }
            };
            callback = interop.CallbackAction;
            server
            .Setup(x => x.RequestVariables("Exp1", callback, userLevel))
            .Returns(true)
            .Callback(CallbackMockRequestVariables);

            interop.GetVariablesExperiment("Exp1").SequenceEqual(varsReturn1);
            interop.GetVariablesExperiment("Exp1").SequenceEqual(new Dictionary <int, double>());
        }
Exemplo n.º 2
0
        public Dictionary <int, double> GetVariableExperiment(string name)
        {
            string SessionId = OperationContext.Current.SessionId;

            return(_interop.GetVariablesExperiment(name));
        }
Exemplo n.º 3
0
 public Dictionary <int, double> GetVariableExperiment(string name)
 {
     return(_interop.GetVariablesExperiment(name));
 }