public function IssuesTest::test_lighten_darken in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/tests/tests_issues.php \IssuesTest::test_lighten_darken()
File
- phpsass/
tests/ tests_issues.php, line 7
Class
Code
public function test_lighten_darken() {
$tests = array(
'{ color: lighten(#B8860B, 3%); }' => 'color: #c6910c;',
'{ color: darken(#b8860b, 3%); }' => 'color: #aa7b0a;',
'{ color: lighten(#99FF99, 8%); }' => 'color: #c2ffc2;',
'{ color: darken(#99FF99, 8%); }' => 'color: #70ff70;',
'{ color: lighten(#A4D9E4, 6%); }' => 'color: #bce3eb;',
'{ color: darken(#A4D9E4, 6%); }' => 'color: #8ccfdd;',
'{ color: lighten(#806918, 26%); }' => 'color: #dbb941;',
'{ color: darken(#806918, 8%); }' => 'color: #5e4d12;',
);
$this
->assertScss(array_keys($tests), array_values($tests));
}