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); }
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); }