PHP 클래스 ColorThief\Test\ColorThiefTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: ksubileau/color-thief-php

공개 메소드들

메소드 설명
provide5bitsColorIndex ( )
provide8bitsColorIndex ( )
provideImageColorPalette ( )
provideImageDominantColor ( )
provideNaturalOrderComparison ( )
testDoCutLeftGreaterThanRight ( )
testDoCutLeftLetherThanRight ( )
testDominantColor ( $image, $area, $expectedColor )
testGetColorIndex5bits ( $r, $g, $b, $index )
testGetColorIndex8bits ( $r, $g, $b, $index )
testGetColorsFromIndex8bits ( $r, $g, $b, $index )
testGetHisto ( )
testGetPaletteWithBlankImage ( )
testGetPaletteWithInvalidQuality ( )
testGetPaletteWithTooFewColors ( )
testGetPaletteWithTooManyColors ( )
testNaturalOrder ( $left, $right, $expected )
testPalette ( $image, $area, $expectedPalette )
testPaletteBinaryString ( $image, $area, $expectedPalette )
testRemoteImage ( )
testVboxFromPixels ( )

메소드 상세

provide5bitsColorIndex() 공개 메소드

provide8bitsColorIndex() 공개 메소드

provideImageColorPalette() 공개 메소드

provideImageDominantColor() 공개 메소드

provideNaturalOrderComparison() 공개 메소드

testDoCutLeftGreaterThanRight() 공개 메소드

testDoCutLeftLetherThanRight() 공개 메소드

testDominantColor() 공개 메소드

public testDominantColor ( $image, $area, $expectedColor )

testGetColorIndex5bits() 공개 메소드

public testGetColorIndex5bits ( $r, $g, $b, $index )

testGetColorIndex8bits() 공개 메소드

public testGetColorIndex8bits ( $r, $g, $b, $index )

testGetColorsFromIndex8bits() 공개 메소드

public testGetColorsFromIndex8bits ( $r, $g, $b, $index )

testGetHisto() 공개 메소드

public testGetHisto ( )

testGetPaletteWithBlankImage() 공개 메소드

또한 보기: Issue #11

testGetPaletteWithInvalidQuality() 공개 메소드

testGetPaletteWithTooFewColors() 공개 메소드

testGetPaletteWithTooManyColors() 공개 메소드

testNaturalOrder() 공개 메소드

public testNaturalOrder ( $left, $right, $expected )

testPalette() 공개 메소드

public testPalette ( $image, $area, $expectedPalette )

testPaletteBinaryString() 공개 메소드

public testPaletteBinaryString ( $image, $area, $expectedPalette )

testRemoteImage() 공개 메소드

또한 보기: Issue #13
public testRemoteImage ( )

testVboxFromPixels() 공개 메소드

public testVboxFromPixels ( )