Added tests case with FLOAT16 and BFLOAT16 vectors (#1465)

* Added tests case with FLOAT16 and BFLOAT16 vectors

* Added version restriction for test

* Updated version restrictions
This commit is contained in:
Vladyslav Vildanov
2024-06-28 21:18:07 +03:00
committed by GitHub
parent cbef71090b
commit c5fdfc81ef
17 changed files with 67 additions and 39 deletions
+3 -3
View File
@@ -225,7 +225,7 @@ class ClientTest extends PredisTestCase
*/
public function testConstructorWithReplicationArgument(): void
{
$replication = new Connection\Replication\MasterSlaveReplication();
$replication = new MasterSlaveReplication();
$factory = new Connection\Factory();
$replication->add($factory->create('tcp://host1?alias=master'));
@@ -912,7 +912,7 @@ class ClientTest extends PredisTestCase
*/
public function testGetClientByMethodSupportsSelectingConnectionByCommand(): void
{
$command = \Predis\Command\RawCommand::create('GET', 'key');
$command = Command\RawCommand::create('GET', 'key');
$connection = $this->getMockBuilder('Predis\Connection\ConnectionInterface')->getMock();
$aggregate = $this->getMockBuilder('Predis\Connection\AggregateConnectionInterface')
@@ -1209,7 +1209,7 @@ class ClientTest extends PredisTestCase
$connection2 = $this->getMockConnection('tcp://127.0.0.1:6382');
$connection3 = $this->getMockConnection('tcp://127.0.0.1:6383');
$aggregate = new \Predis\Connection\Cluster\PredisCluster();
$aggregate = new Connection\Cluster\PredisCluster();
$aggregate->add($connection1);
$aggregate->add($connection2);