/** * @covers WindowsAzure\Table\TableRestProxy::insertEntity * @covers WindowsAzure\Table\TableRestProxy::queryEntities */ public function testInsertEntityDouble() { foreach (TableServiceFunctionalTestData::getInterestingGoodDoubles() as $o) { $ent = new Entity(); $ent->setPartitionKey(TableServiceFunctionalTestData::getNewKey()); $ent->setRowKey(TableServiceFunctionalTestData::getNewKey()); $ent->addProperty('DOUBLE', EdmType::DOUBLE, $o); $this->insertEntityWorker($ent, true, null, $o); } }
/** * @covers WindowsAzure\Table\TableRestProxy::queryEntities */ public function testQueryEntitiesDoubleLevel1() { // The emulator has problems with non-standard queries tested here. $this->skipIfEmulated(); $interestingqueryEntitiesOptions = self::addBinaryFilter('DOUBLE', EdmType::DOUBLE, TableServiceFunctionalTestData::getInterestingGoodDoubles()); foreach ($interestingqueryEntitiesOptions as $options) { $this->queryEntitiesWorker($options); } }