Explorar el Código

:shower: static calls to TestCase::assert*

codemasher hace 5 años
padre
commit
41730158d7

+ 4 - 4
tests/Data/DatainterfaceTestAbstract.php

@@ -33,23 +33,23 @@ abstract class DatainterfaceTestAbstract extends QRTestAbstract{
 	public function testInstance(){
 	public function testInstance(){
 		$this->dataInterface = $this->reflection->newInstanceArgs([new QROptions, $this->testdata]);
 		$this->dataInterface = $this->reflection->newInstanceArgs([new QROptions, $this->testdata]);
 
 
-		$this->assertInstanceOf(QRDataInterface::class, $this->dataInterface);
+		$this::assertInstanceOf(QRDataInterface::class, $this->dataInterface);
 	}
 	}
 
 
 	public function testSetData(){
 	public function testSetData(){
 		$this->dataInterface->setData($this->testdata);
 		$this->dataInterface->setData($this->testdata);
 
 
-		$this->assertSame($this->expected, $this->getProperty('matrixdata')->getValue($this->dataInterface));
+		$this::assertSame($this->expected, $this->getProperty('matrixdata')->getValue($this->dataInterface));
 	}
 	}
 
 
 	public function testInitMatrix(){
 	public function testInitMatrix(){
 		$m = $this->dataInterface->setData($this->testdata)->initMatrix(0);
 		$m = $this->dataInterface->setData($this->testdata)->initMatrix(0);
 
 
-		$this->assertInstanceOf(QRMatrix::class, $m);
+		$this::assertInstanceOf(QRMatrix::class, $m);
 	}
 	}
 
 
 	public function testGetMinimumVersion(){
 	public function testGetMinimumVersion(){
-		$this->assertSame(1, $this->getMethod('getMinimumVersion')->invoke($this->dataInterface));
+		$this::assertSame(1, $this->getMethod('getMinimumVersion')->invoke($this->dataInterface));
 	}
 	}
 
 
 	public function testGetMinimumVersionException(){
 	public function testGetMinimumVersionException(){

+ 1 - 1
tests/Data/MaskPatternTesterTest.php

@@ -23,7 +23,7 @@ class MaskPatternTesterTest extends QRTestAbstract{
 	public function testMaskpattern(){
 	public function testMaskpattern(){
 		$matrix = (new Byte(new QROptions(['version' => 10]), 'test'))->initMatrix(0, true);
 		$matrix = (new Byte(new QROptions(['version' => 10]), 'test'))->initMatrix(0, true);
 
 
-		$this->assertSame(6178, (new MaskPatternTester($matrix))->testPattern());
+		$this::assertSame(6178, (new MaskPatternTester($matrix))->testPattern());
 	}
 	}
 
 
 
 

+ 36 - 36
tests/Data/QRMatrixTest.php

@@ -46,56 +46,56 @@ class QRMatrixTest extends QRTestAbstract{
 	}
 	}
 
 
 	public function testInstance(){
 	public function testInstance(){
-		$this->assertInstanceOf($this->FQCN, $this->matrix);
+		$this::assertInstanceOf($this->FQCN, $this->matrix);
 	}
 	}
 
 
 	public function testSize(){
 	public function testSize(){
-		$this->assertCount($this->matrix->size(), $this->matrix->matrix());
+		$this::assertCount($this->matrix->size(), $this->matrix->matrix());
 	}
 	}
 
 
 	public function testVersion(){
 	public function testVersion(){
-		$this->assertSame($this->version, $this->matrix->version());
+		$this::assertSame($this->version, $this->matrix->version());
 	}
 	}
 
 
 	public function testECC(){
 	public function testECC(){
-		$this->assertSame(QRCode::ECC_L, $this->matrix->eccLevel());
+		$this::assertSame(QRCode::ECC_L, $this->matrix->eccLevel());
 	}
 	}
 
 
 	public function testMaskPattern(){
 	public function testMaskPattern(){
-		$this->assertSame(-1, $this->matrix->maskPattern());
+		$this::assertSame(-1, $this->matrix->maskPattern());
 	}
 	}
 
 
 	public function testGetSetCheck(){
 	public function testGetSetCheck(){
 		$this->matrix->set(10, 10, true, QRMatrix::M_TEST);
 		$this->matrix->set(10, 10, true, QRMatrix::M_TEST);
-		$this->assertSame(65280, $this->matrix->get(10, 10));
-		$this->assertTrue($this->matrix->check(10, 10));
+		$this::assertSame(65280, $this->matrix->get(10, 10));
+		$this::assertTrue($this->matrix->check(10, 10));
 
 
 		$this->matrix->set(20, 20, false, QRMatrix::M_TEST);
 		$this->matrix->set(20, 20, false, QRMatrix::M_TEST);
-		$this->assertSame(255, $this->matrix->get(20, 20));
-		$this->assertFalse($this->matrix->check(20, 20));
+		$this::assertSame(255, $this->matrix->get(20, 20));
+		$this::assertFalse($this->matrix->check(20, 20));
 	}
 	}
 
 
 	public function testSetDarkModule(){
 	public function testSetDarkModule(){
 		$this->matrix->setDarkModule();
 		$this->matrix->setDarkModule();
 
 
-		$this->assertSame(QRMatrix::M_DARKMODULE << 8, $this->matrix->get(8, $this->matrix->size() - 8));
+		$this::assertSame(QRMatrix::M_DARKMODULE << 8, $this->matrix->get(8, $this->matrix->size() - 8));
 	}
 	}
 
 
 	public function testSetFinderPattern(){
 	public function testSetFinderPattern(){
 		$this->matrix->setFinderPattern();
 		$this->matrix->setFinderPattern();
 
 
-		$this->assertSame(QRMatrix::M_FINDER << 8, $this->matrix->get(0, 0));
-		$this->assertSame(QRMatrix::M_FINDER << 8, $this->matrix->get(0, $this->matrix->size() - 1));
-		$this->assertSame(QRMatrix::M_FINDER << 8, $this->matrix->get($this->matrix->size() - 1, 0));
+		$this::assertSame(QRMatrix::M_FINDER << 8, $this->matrix->get(0, 0));
+		$this::assertSame(QRMatrix::M_FINDER << 8, $this->matrix->get(0, $this->matrix->size() - 1));
+		$this::assertSame(QRMatrix::M_FINDER << 8, $this->matrix->get($this->matrix->size() - 1, 0));
 	}
 	}
 
 
 	public function testSetSeparators(){
 	public function testSetSeparators(){
 		$this->matrix->setSeparators();
 		$this->matrix->setSeparators();
 
 
-		$this->assertSame(QRMatrix::M_SEPARATOR, $this->matrix->get(7, 0));
-		$this->assertSame(QRMatrix::M_SEPARATOR, $this->matrix->get(0, 7));
-		$this->assertSame(QRMatrix::M_SEPARATOR, $this->matrix->get(0, $this->matrix->size() - 8));
-		$this->assertSame(QRMatrix::M_SEPARATOR, $this->matrix->get($this->matrix->size() - 8, 0));
+		$this::assertSame(QRMatrix::M_SEPARATOR, $this->matrix->get(7, 0));
+		$this::assertSame(QRMatrix::M_SEPARATOR, $this->matrix->get(0, 7));
+		$this::assertSame(QRMatrix::M_SEPARATOR, $this->matrix->get(0, $this->matrix->size() - 8));
+		$this::assertSame(QRMatrix::M_SEPARATOR, $this->matrix->get($this->matrix->size() - 8, 0));
 	}
 	}
 
 
 	public function testSetAlignmentPattern(){
 	public function testSetAlignmentPattern(){
@@ -110,11 +110,11 @@ class QRMatrixTest extends QRTestAbstract{
 			foreach($alignmentPattern as $px){
 			foreach($alignmentPattern as $px){
 
 
 				if($this->matrix->get($px, $py) === QRMatrix::M_FINDER << 8){
 				if($this->matrix->get($px, $py) === QRMatrix::M_FINDER << 8){
-					$this->assertSame(QRMatrix::M_FINDER << 8, $this->matrix->get($px, $py), 'skipped finder pattern');
+					$this::assertSame(QRMatrix::M_FINDER << 8, $this->matrix->get($px, $py), 'skipped finder pattern');
 					continue;
 					continue;
 				}
 				}
 
 
-				$this->assertSame(QRMatrix::M_ALIGNMENT << 8, $this->matrix->get($px, $py));
+				$this::assertSame(QRMatrix::M_ALIGNMENT << 8, $this->matrix->get($px, $py));
 			}
 			}
 		}
 		}
 
 
@@ -133,12 +133,12 @@ class QRMatrixTest extends QRTestAbstract{
 				$p1 = $this->matrix->get(6, $i);
 				$p1 = $this->matrix->get(6, $i);
 
 
 				if($p1 === QRMatrix::M_ALIGNMENT << 8){
 				if($p1 === QRMatrix::M_ALIGNMENT << 8){
-					$this->assertSame(QRMatrix::M_ALIGNMENT << 8, $p1, 'skipped alignment pattern');
+					$this::assertSame(QRMatrix::M_ALIGNMENT << 8, $p1, 'skipped alignment pattern');
 					continue;
 					continue;
 				}
 				}
 
 
-				$this->assertSame(QRMatrix::M_TIMING << 8, $p1);
-				$this->assertSame(QRMatrix::M_TIMING << 8, $this->matrix->get($i, 6));
+				$this::assertSame(QRMatrix::M_TIMING << 8, $p1);
+				$this::assertSame(QRMatrix::M_TIMING << 8, $this->matrix->get($i, 6));
 			}
 			}
 		}
 		}
 	}
 	}
@@ -146,19 +146,19 @@ class QRMatrixTest extends QRTestAbstract{
 	public function testSetVersionNumber(){
 	public function testSetVersionNumber(){
 		$this->matrix->setVersionNumber(true);
 		$this->matrix->setVersionNumber(true);
 
 
-		$this->assertSame(QRMatrix::M_VERSION, $this->matrix->get($this->matrix->size() - 9, 0));
-		$this->assertSame(QRMatrix::M_VERSION, $this->matrix->get($this->matrix->size() - 11, 5));
-		$this->assertSame(QRMatrix::M_VERSION, $this->matrix->get(0, $this->matrix->size() - 9));
-		$this->assertSame(QRMatrix::M_VERSION, $this->matrix->get(5, $this->matrix->size() - 11));
+		$this::assertSame(QRMatrix::M_VERSION, $this->matrix->get($this->matrix->size() - 9, 0));
+		$this::assertSame(QRMatrix::M_VERSION, $this->matrix->get($this->matrix->size() - 11, 5));
+		$this::assertSame(QRMatrix::M_VERSION, $this->matrix->get(0, $this->matrix->size() - 9));
+		$this::assertSame(QRMatrix::M_VERSION, $this->matrix->get(5, $this->matrix->size() - 11));
 	}
 	}
 
 
 	public function testSetFormatInfo(){
 	public function testSetFormatInfo(){
 		$this->matrix->setFormatInfo(0, true);
 		$this->matrix->setFormatInfo(0, true);
 
 
-		$this->assertSame(QRMatrix::M_FORMAT, $this->matrix->get(8, 0));
-		$this->assertSame(QRMatrix::M_FORMAT, $this->matrix->get(0, 8));
-		$this->assertSame(QRMatrix::M_FORMAT, $this->matrix->get($this->matrix->size() - 1, 8));
-		$this->assertSame(QRMatrix::M_FORMAT, $this->matrix->get($this->matrix->size() - 8, 8));
+		$this::assertSame(QRMatrix::M_FORMAT, $this->matrix->get(8, 0));
+		$this::assertSame(QRMatrix::M_FORMAT, $this->matrix->get(0, 8));
+		$this::assertSame(QRMatrix::M_FORMAT, $this->matrix->get($this->matrix->size() - 1, 8));
+		$this::assertSame(QRMatrix::M_FORMAT, $this->matrix->get($this->matrix->size() - 8, 8));
 	}
 	}
 
 
 	public function testSetQuietZone(){
 	public function testSetQuietZone(){
@@ -170,15 +170,15 @@ class QRMatrixTest extends QRTestAbstract{
 
 
 		$this->matrix->setQuietZone($q);
 		$this->matrix->setQuietZone($q);
 
 
-		$this->assertCount($size + 2 * $q, $this->matrix->matrix());
-		$this->assertCount($size + 2 * $q, $this->matrix->matrix()[$size - 1]);
+		$this::assertCount($size + 2 * $q, $this->matrix->matrix());
+		$this::assertCount($size + 2 * $q, $this->matrix->matrix()[$size - 1]);
 
 
 		$size = $this->matrix->size();
 		$size = $this->matrix->size();
-		$this->assertSame(QRMatrix::M_QUIETZONE, $this->matrix->get(0, 0));
-		$this->assertSame(QRMatrix::M_QUIETZONE, $this->matrix->get($size - 1, $size - 1));
+		$this::assertSame(QRMatrix::M_QUIETZONE, $this->matrix->get(0, 0));
+		$this::assertSame(QRMatrix::M_QUIETZONE, $this->matrix->get($size - 1, $size - 1));
 
 
-		$this->assertSame(QRMatrix::M_TEST << 8, $this->matrix->get($q, $q));
-		$this->assertSame(QRMatrix::M_TEST << 8, $this->matrix->get($size - 1 - $q, $size - 1 - $q));
+		$this::assertSame(QRMatrix::M_TEST << 8, $this->matrix->get($q, $q));
+		$this::assertSame(QRMatrix::M_TEST << 8, $this->matrix->get($size - 1 - $q, $size - 1 - $q));
 	}
 	}
 
 
 	public function testSetQuietZoneException(){
 	public function testSetQuietZoneException(){

+ 4 - 4
tests/Helpers/BitBufferTest.php

@@ -37,14 +37,14 @@ class BitBufferTest extends QRTestAbstract{
 	 */
 	 */
 	public function testPut($data, $value){
 	public function testPut($data, $value){
 		$this->bitBuffer->put($data, 4);
 		$this->bitBuffer->put($data, 4);
-		$this->assertSame($value, $this->bitBuffer->buffer[0]);
-		$this->assertSame(4, $this->bitBuffer->length);
+		$this::assertSame($value, $this->bitBuffer->buffer[0]);
+		$this::assertSame(4, $this->bitBuffer->length);
 	}
 	}
 
 
 	public function testClear(){
 	public function testClear(){
 		$this->bitBuffer->clear();
 		$this->bitBuffer->clear();
-		$this->assertSame([], $this->bitBuffer->buffer);
-		$this->assertSame(0, $this->bitBuffer->length);
+		$this::assertSame([], $this->bitBuffer->buffer);
+		$this::assertSame(0, $this->bitBuffer->length);
 	}
 	}
 
 
 }
 }

+ 3 - 3
tests/Helpers/PolynomialTest.php

@@ -25,9 +25,9 @@ class PolynomialTest extends QRTestAbstract{
 	}
 	}
 
 
 	public function testGexp(){
 	public function testGexp(){
-		$this->assertSame(142, $this->polynomial->gexp(-1));
-		$this->assertSame(133, $this->polynomial->gexp(128));
-		$this->assertSame(2,   $this->polynomial->gexp(256));
+		$this::assertSame(142, $this->polynomial->gexp(-1));
+		$this::assertSame(133, $this->polynomial->gexp(128));
+		$this::assertSame(2,   $this->polynomial->gexp(256));
 	}
 	}
 
 
 	public function testGlogException(){
 	public function testGlogException(){

+ 2 - 2
tests/Output/QRImageTest.php

@@ -42,7 +42,7 @@ class QRImageTest extends QROutputTestAbstract{
 			$this->markAsRisky();
 			$this->markAsRisky();
 		}
 		}
 
 
-		$this->assertSame($img, file_get_contents($this::cachefile.$type));
+		$this::assertSame($img, file_get_contents($this::cachefile.$type));
 	}
 	}
 
 
 	public function testSetModuleValues(){
 	public function testSetModuleValues(){
@@ -55,7 +55,7 @@ class QRImageTest extends QROutputTestAbstract{
 
 
 		$this->setOutputInterface()->dump();
 		$this->setOutputInterface()->dump();
 
 
-		$this->assertTrue(true); // tricking the code coverage
+		$this::assertTrue(true); // tricking the code coverage
 	}
 	}
 
 
 }
 }

+ 2 - 2
tests/Output/QRImagickTest.php

@@ -36,7 +36,7 @@ class QRImagickTest extends QROutputTestAbstract{
 		$this->outputInterface->dump($this::cachefile.$type);
 		$this->outputInterface->dump($this::cachefile.$type);
 		$img = $this->outputInterface->dump();
 		$img = $this->outputInterface->dump();
 
 
-		$this->assertSame($img, file_get_contents($this::cachefile.$type));
+		$this::assertSame($img, file_get_contents($this::cachefile.$type));
 	}
 	}
 
 
 	public function testSetModuleValues(){
 	public function testSetModuleValues(){
@@ -49,7 +49,7 @@ class QRImagickTest extends QROutputTestAbstract{
 
 
 		$this->setOutputInterface()->dump();
 		$this->setOutputInterface()->dump();
 
 
-		$this->assertTrue(true); // tricking the code coverage
+		$this::assertTrue(true); // tricking the code coverage
 	}
 	}
 
 
 }
 }

+ 4 - 4
tests/Output/QRMarkupTest.php

@@ -35,7 +35,7 @@ class QRMarkupTest extends QROutputTestAbstract{
 		$this->setOutputInterface();
 		$this->setOutputInterface();
 		$data = $this->outputInterface->dump();
 		$data = $this->outputInterface->dump();
 
 
-		$this->assertSame($data, file_get_contents($this->options->cachefile));
+		$this::assertSame($data, file_get_contents($this->options->cachefile));
 	}
 	}
 
 
 	/**
 	/**
@@ -57,7 +57,7 @@ class QRMarkupTest extends QROutputTestAbstract{
 
 
 		$expected = implode($this->options->eol, $expected);
 		$expected = implode($this->options->eol, $expected);
 
 
-		$this->assertSame(trim($expected), trim($this->outputInterface->dump()));
+		$this::assertSame(trim($expected), trim($this->outputInterface->dump()));
 	}
 	}
 
 
 	public function testSetModuleValues(){
 	public function testSetModuleValues(){
@@ -70,8 +70,8 @@ class QRMarkupTest extends QROutputTestAbstract{
 
 
 		$this->setOutputInterface();
 		$this->setOutputInterface();
 		$data = $this->outputInterface->dump();
 		$data = $this->outputInterface->dump();
-		$this->assertStringContainsString('#4A6000', $data);
-		$this->assertStringContainsString('#ECF9BE', $data);
+		$this::assertStringContainsString('#4A6000', $data);
+		$this::assertStringContainsString('#ECF9BE', $data);
 	}
 	}
 
 
 }
 }

+ 1 - 1
tests/Output/QROutputTestAbstract.php

@@ -48,7 +48,7 @@ abstract class QROutputTestAbstract extends QRTestAbstract{
 	}
 	}
 
 
 	public function testInstance(){
 	public function testInstance(){
-		$this->assertInstanceOf(QROutputInterface::class, $this->outputInterface);
+		$this::assertInstanceOf(QROutputInterface::class, $this->outputInterface);
 	}
 	}
 
 
 	public function testSaveException(){
 	public function testSaveException(){

+ 3 - 3
tests/Output/QRStringTest.php

@@ -35,7 +35,7 @@ class QRStringTest extends QROutputTestAbstract{
 		$this->setOutputInterface();
 		$this->setOutputInterface();
 		$data = $this->outputInterface->dump();
 		$data = $this->outputInterface->dump();
 
 
-		$this->assertSame($data, file_get_contents($this->options->cachefile));
+		$this::assertSame($data, file_get_contents($this->options->cachefile));
 	}
 	}
 
 
 	public function testSetModuleValues(){
 	public function testSetModuleValues(){
@@ -49,8 +49,8 @@ class QRStringTest extends QROutputTestAbstract{
 		$this->setOutputInterface();
 		$this->setOutputInterface();
 		$data = $this->outputInterface->dump();
 		$data = $this->outputInterface->dump();
 
 
-		$this->assertStringContainsString('A', $data);
-		$this->assertStringContainsString('B', $data);
+		$this::assertStringContainsString('A', $data);
+		$this::assertStringContainsString('B', $data);
 	}
 	}
 
 
 }
 }

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 9 - 9
tests/QRCodeTest.php


+ 18 - 18
tests/QROptionsTest.php

@@ -22,37 +22,37 @@ class QROptionsTest extends TestCase{
 	protected SettingsContainerInterface $options;
 	protected SettingsContainerInterface $options;
 
 
 	public function testVersionClamp(){
 	public function testVersionClamp(){
-		$this->assertSame(40, (new QROptions(['version' => 42]))->version);
-		$this->assertSame(1, (new QROptions(['version' => -42]))->version);
-		$this->assertSame(21, (new QROptions(['version' => 21]))->version);
-		$this->assertSame(QRCode::VERSION_AUTO, (new QROptions)->version); // QRCode::VERSION_AUTO = -1, default
+		$this::assertSame(40, (new QROptions(['version' => 42]))->version);
+		$this::assertSame(1, (new QROptions(['version' => -42]))->version);
+		$this::assertSame(21, (new QROptions(['version' => 21]))->version);
+		$this::assertSame(QRCode::VERSION_AUTO, (new QROptions)->version); // QRCode::VERSION_AUTO = -1, default
 	}
 	}
 
 
 	public function testVersionMinMaxClamp(){
 	public function testVersionMinMaxClamp(){
 		// normal clamp
 		// normal clamp
 		$o = new QROptions(['versionMin' => 5, 'versionMax' => 10]);
 		$o = new QROptions(['versionMin' => 5, 'versionMax' => 10]);
-		$this->assertSame(5, $o->versionMin);
-		$this->assertSame(10, $o->versionMax);
+		$this::assertSame(5, $o->versionMin);
+		$this::assertSame(10, $o->versionMax);
 
 
 		// exceeding values
 		// exceeding values
 		$o = new QROptions(['versionMin' => -42, 'versionMax' => 42]);
 		$o = new QROptions(['versionMin' => -42, 'versionMax' => 42]);
-		$this->assertSame(1, $o->versionMin);
-		$this->assertSame(40, $o->versionMax);
+		$this::assertSame(1, $o->versionMin);
+		$this::assertSame(40, $o->versionMax);
 
 
 		// min > max
 		// min > max
 		$o = new QROptions(['versionMin' => 10, 'versionMax' => 5]);
 		$o = new QROptions(['versionMin' => 10, 'versionMax' => 5]);
-		$this->assertSame(5, $o->versionMin);
-		$this->assertSame(10, $o->versionMax);
+		$this::assertSame(5, $o->versionMin);
+		$this::assertSame(10, $o->versionMax);
 
 
 		$o = new QROptions(['versionMin' => 42, 'versionMax' => -42]);
 		$o = new QROptions(['versionMin' => 42, 'versionMax' => -42]);
-		$this->assertSame(1, $o->versionMin);
-		$this->assertSame(40, $o->versionMax);
+		$this::assertSame(1, $o->versionMin);
+		$this::assertSame(40, $o->versionMax);
 	}
 	}
 
 
 	public function testMaskPatternClamp(){
 	public function testMaskPatternClamp(){
-		$this->assertSame(7, (new QROptions(['maskPattern' => 42]))->maskPattern);
-		$this->assertSame(0, (new QROptions(['maskPattern' => -42]))->maskPattern);
-		$this->assertSame(QRCode::MASK_PATTERN_AUTO, (new QROptions)->maskPattern); // QRCode::MASK_PATTERN_AUTO = -1, default
+		$this::assertSame(7, (new QROptions(['maskPattern' => 42]))->maskPattern);
+		$this::assertSame(0, (new QROptions(['maskPattern' => -42]))->maskPattern);
+		$this::assertSame(QRCode::MASK_PATTERN_AUTO, (new QROptions)->maskPattern); // QRCode::MASK_PATTERN_AUTO = -1, default
 	}
 	}
 
 
 	public function testInvalidEccLevelException(){
 	public function testInvalidEccLevelException(){
@@ -65,9 +65,9 @@ class QROptionsTest extends TestCase{
 	public function testClampRGBValues(){
 	public function testClampRGBValues(){
 		$o = new QROptions(['imageTransparencyBG' => [-1, 0, 999]]);
 		$o = new QROptions(['imageTransparencyBG' => [-1, 0, 999]]);
 
 
-		$this->assertSame(0, $o->imageTransparencyBG[0]);
-		$this->assertSame(0, $o->imageTransparencyBG[1]);
-		$this->assertSame(255, $o->imageTransparencyBG[2]);
+		$this::assertSame(0, $o->imageTransparencyBG[0]);
+		$this::assertSame(0, $o->imageTransparencyBG[1]);
+		$this::assertSame(255, $o->imageTransparencyBG[2]);
 	}
 	}
 
 
 	public function testInvalidRGBValueException(){
 	public function testInvalidRGBValueException(){

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio