예제 #1
0
 public static void AreEqual(OptimizelyVariable expected, OptimizelyVariable actual)
 {
     Assert.AreEqual(expected.Id, actual.Id);
     Assert.AreEqual(expected.Key, actual.Key);
     Assert.AreEqual(expected.Type, actual.Type);
     Assert.AreEqual(expected.Value, actual.Value);
 }
예제 #2
0
        public void TestOptimizelyVariableEntity()
        {
            OptimizelyVariable expectedOptlyVariable = new OptimizelyVariable("varId", "variableKey", "integer", "2");

            Assert.AreEqual(expectedOptlyVariable.Id, "varId");
            Assert.AreEqual(expectedOptlyVariable.Key, "variableKey");
            Assert.AreEqual(expectedOptlyVariable.Type, "integer");
            Assert.AreEqual(expectedOptlyVariable.Value, "2");
        }