From a1d5bcce5e2c48db20545e6db270b11253380a4f Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Sun, 31 Jan 2016 11:53:52 +0530 Subject: [PATCH] Add additional test cases to Roman Numeral This commit adds additional test case to the Roman Numeral challenge. It was possible to pass the tests with incorrect code, as seen in the issue discussion. Tested locally. closes #6616 --- .../intermediate-bonfires.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/challenges/01-front-end-development-certification/intermediate-bonfires.json b/challenges/01-front-end-development-certification/intermediate-bonfires.json index e06957ed74..dfbe2a5233 100644 --- a/challenges/01-front-end-development-certification/intermediate-bonfires.json +++ b/challenges/01-front-end-development-certification/intermediate-bonfires.json @@ -105,6 +105,9 @@ "convert(36);" ], "tests": [ + "assert.deepEqual(convert(2), \"II\", 'message: convert(2) should return \"II\".');", + "assert.deepEqual(convert(3), \"III\", 'message: convert(3) should return \"III\".');", + "assert.deepEqual(convert(4), \"IV\", 'message: convert(4) should return \"IV\".');", "assert.deepEqual(convert(5), \"V\", 'message: convert(5) should return \"V\".');", "assert.deepEqual(convert(9), \"IX\", 'message: convert(9) should return \"IX\".');", "assert.deepEqual(convert(12), \"XII\", 'message: convert(12) should return \"XII\".');",