From fc2809c9694e9ca6bf91fb9ea73c8604372d8aed Mon Sep 17 00:00:00 2001 From: Luke Page Date: Thu, 30 Aug 2012 20:26:08 +0100 Subject: [PATCH] Add tests for #618 --- test/css/functions.css | 2 ++ test/less/functions.less | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/css/functions.css b/test/css/functions.css index 0fb3a7df..7a595f70 100644 --- a/test/css/functions.css +++ b/test/css/functions.css @@ -48,7 +48,9 @@ green: 255; blue: 255; rounded: 11; + rounded-two: 10.67; roundedpx: 3px; + roundedpx-three: 3.333px; percentage: 20%; color: #ff0011; mix: #ff3300; diff --git a/test/less/functions.less b/test/less/functions.less index af1883bf..7e599e23 100644 --- a/test/less/functions.less +++ b/test/less/functions.less @@ -52,7 +52,9 @@ green: green(#0f0); blue: blue(#00f); rounded: round(@r/3); + rounded-two: round(@r/3, 2); roundedpx: round(10px / 3); + roundedpx-three: round(10px / 3, 3); percentage: percentage(10px / 50); color: color("#ff0011");