+int main(int argc, char *argv[])
+{
+ // LightBulb #1
+ string macAddress1 = "D073D5128E300000";
+ string devIPAddress1 = "192.168.2.126";
+ IoTDeviceAddress* devAddress1 = new IoTDeviceAddress(devIPAddress1, 12345, 56700, false, false);
+ unordered_set<IoTDeviceAddress*>* myset1 = new unordered_set<IoTDeviceAddress*>();
+ myset1->insert(devAddress1);
+ IoTSet<IoTDeviceAddress*>* setDevAddress1 = new IoTSet<IoTDeviceAddress*>(*myset1);
+ LifxLightBulb *llb1 = new LifxLightBulb(setDevAddress1, macAddress1);
+ //cout << "Generated LifxLightBulb object!" << endl;
+
+ // LightBulb #2
+ string macAddress2 = "D073D50241DA0000";
+ string devIPAddress2 = "192.168.2.232";
+ IoTDeviceAddress* devAddress2 = new IoTDeviceAddress(devIPAddress2, 12346, 56700, false, false);
+ unordered_set<IoTDeviceAddress*>* myset2 = new unordered_set<IoTDeviceAddress*>();
+ myset2->insert(devAddress2);
+ IoTSet<IoTDeviceAddress*>* setDevAddress2 = new IoTSet<IoTDeviceAddress*>(*myset2);
+ LifxLightBulb *llb2 = new LifxLightBulb(setDevAddress2, macAddress2);
+
+ // Set of lightbulbs
+ unordered_set<LightBulb*>* setLb = new unordered_set<LightBulb*>();
+ setLb->insert(llb1);
+ setLb->insert(llb2);
+ IoTSet<LightBulb*>* lbSet = new IoTSet<LightBulb*>(*setLb);
+
+ void* args[1];
+ args[0] = (void*) lbSet;
+ Lifxtest *lt = new Lifxtest(args);
+ lt->init();
+
+ //delete llb1;
+ //delete llb2;
+ delete devAddress1;
+ delete devAddress2;
+ delete myset1;
+ delete myset2;
+ delete setDevAddress1;
+ delete setDevAddress2;
+ delete setLb;
+ delete lbSet;
+ //delete llb1;
+ //delete llb2;