Created
June 23, 2019 09:26
-
-
Save Weiyuan-Lane/a2058ca9f264c018d3853f516f9613ee to your computer and use it in GitHub Desktop.
Unit testing sample for factorial function in SCSS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import 'true'; | |
@import 'factorial'; | |
@include describe('.factorial [function]') { | |
@include it('should return value for 10! as 3628800') { | |
@include assert-equal(factorial(10), 3628800); | |
} | |
} | |
@include report; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment