Exemple #1
0
        public void RunActivateTests()
        {
            var result = OptimizelyTests.TestActivate(new ActivateParams("test_experiment", TestUserID));

            PrintActivate(result);

            result = OptimizelyTests.TestActivate(new ActivateParams("test_experiment", TestUserID, UserAttributes));
            PrintActivate(result);
        }
Exemple #2
0
        public static void RunActivateTests()
        {
            var result = OptimizelyTests.TestActivate(new ActivateParams("test_experiment", TEST_USER_ID));

            PrintVariation(result);

            result = OptimizelyTests.TestActivate(new ActivateParams("test_experiment", TEST_USER_ID, new Entity.UserAttributes
            {
                { "device_type", "iPhone" },
                { "location", "San Francisco" }
            }));
            PrintVariation(result);
        }