def test_minify_css():
 css = '\n/*\n * Font-sizes from config, override with care\n */\n\n.title  {\n  font-family: sans;\n\n  font-size:  12 ;\n}\n\n.legends .legend text {\n  font-family: monospace;\n  font-size: 14 ;}\n'
 assert (minify_css(css) == '.title{font-family:sans;font-size:12}.legends .legend text{font-family:monospace;font-size:14}')

def test_minify_css ( ) : css = '\n/*\n * Font-sizes from config, override with care\n */\n\n.title  {\n  font-family: sans;\n\n  font-size:  12 ;\n}\n\n.legends .legend text {\n  font-family: monospace;\n  font-size: 14 ;}\n' assert ( minify_css ( css ) == '.title{font-family:sans;font-size:12}.legends .legend text{font-family:monospace;font-size:14}' )
test css minifier function .