File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ Simple and easy to use the PHP command-line output of color
44
55
66[ ![ Build Status] ( https://travis-ci.org/wujunze/php-cli-color.svg?branch=master )] ( https://travis-ci.org/wujunze/php-cli-color )
7+ [ ![ codecov] ( https://codecov.io/gh/wujunze/php-cli-color/branch/master/graph/badge.svg )] ( https://codecov.io/gh/wujunze/php-cli-color )
78
89## Installation
910
Original file line number Diff line number Diff line change @@ -21,4 +21,17 @@ public function testCliColor()
2121 $ this ->assertEquals ('[0;35m[43mTesting Colors class, this is purple string on yellow background.[0m ' , $ res );
2222 }
2323
24+ public function testGetBackgroundColors ()
25+ {
26+ $ color = $ this ->createServer ();
27+ $ colors = $ color ->getBackgroundColors ();
28+ $ this ->assertNotEmpty ($ colors );
29+ }
30+
31+ public function testGetForegroundColors (){
32+ $ color = $ this ->createServer ();
33+ $ colors = $ color ->getForegroundColors ();
34+ $ this ->assertNotEmpty ($ colors );
35+ }
36+
2437}
You can’t perform that action at this time.
0 commit comments