2 declare(strict_types = 1);
37 'FLOAT without precision' => [
43 'FLOAT with precision' => [
49 'FLOAT with precision and decimals' => [
55 'REAL without precision' => [
61 'REAL with precision' => [
67 'REAL with precision and decimals' => [
73 'DOUBLE without precision' => [
75 DoubleDataType::class,
79 'DOUBLE with precision' => [
81 DoubleDataType::class,
85 'DOUBLE with precision and decimals' => [
87 DoubleDataType::class,
103 string $columnDefinition,
105 int $precision =
null,
110 $this->assertInstanceOf($className, $subject->dataType);
111 $this->assertSame($precision, $subject->dataType->getPrecision());
112 $this->assertSame($scale, $subject->dataType->getScale());