--TEST--
Tests of Binary subtype 9, Vectors, with dtype INT8: INT8 with float inputs
--DESCRIPTION--
Generated by scripts/convert-bson-binary-vector-tests.php

DO NOT EDIT THIS FILE
--FILE--
<?php

require_once __DIR__ . '/../utils/basic.inc';

// Vector [127.77,7.77] with padding 0
$vector = array (
  0 => 127.77,
  1 => 7.77,
);

throws(function() use ($vector) {
    var_dump(MongoDB\BSON\Binary::fromVector($vector, \MongoDB\BSON\VectorType::Int8));
}, 'MongoDB\Driver\Exception\InvalidArgumentException');

?>
===DONE===
<?php exit(0); ?>
--EXPECT--
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
===DONE===