   "ensure tableset":
     _.extend({topic: createSimpleTableSet},
       checkEnsure)
+
 
   "pair table": 
     topic: ->


  new gg.data.TableSet [pt1, pt2]

checkEnsure =
  "when ensured on x,y":
    topic: (ptable) -> ptable.ensure ['x', 'y']
    "md": 
      topic: (tset) -> tset.getMD()
      "has 8 rows": (md) -> assert.equal md.nrows(), 8

        partitions = table.partition ['j1', 'j2']
        assert.equal partitions.length, 6

###

suite.export module
