97057dd11cc802f0b267c51e8ee76fe6069e0abc
[iotcloud.git] / src / java / iotcloud / Test.java
1 package iotcloud;
2
3 public class Test {
4         public static void main(String[] args) {
5                 TestCloudComm cc=new TestCloudComm();
6                 Table t1=new Table(cc, 6513);
7                 t1.initTable();
8                 Table t2=new Table(cc, 6512);
9                 t2.update();
10                 for(int i=0;i<100;i++) {
11                         String a="STR"+i;
12                         String b="ABR"+i;
13                         IoTString ia=new IoTString(a);
14                         IoTString ib=new IoTString(b);
15                         t1.put(ia, ia);
16                         t2.put(ib, ib);
17                         t1.update();
18                         System.out.println(ib+"->"+t1.get(ib));
19                         System.out.println(ia+"->"+t2.get(ia));
20                 }
21         }
22 }