From 1a4b94d47dbb51c3d01539c5090aaef3a101d69c Mon Sep 17 00:00:00 2001 From: torosediles Date: Tue, 14 May 2024 17:46:19 +0200 Subject: [PATCH] d --- implementation/tests.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/implementation/tests.js b/implementation/tests.js index 9e9782b..8d25222 100644 --- a/implementation/tests.js +++ b/implementation/tests.js @@ -1,8 +1,8 @@ -QUnit.test('convertIntegerToRoman Test Cases', function(assert) { +test('convertIntegerToRoman Test Cases', function(assert) { // Test Cases for convertIntegerToRoman // TC-1 - assert.equal(convertIntegerToRoman('1'), {value: 'I', message: '', result: true}, 'TC-1'); + assert.equal(convertIntegerToRoman(1), {value: 'I', message: '', result: true}, 'TC-1'); // TC-2 assert.propEqual(convertIntegerToRoman(3999), {value: 'MMMCMXCIX', message: '', result: true}, 'TC-2'); @@ -20,7 +20,7 @@ QUnit.test('convertIntegerToRoman Test Cases', function(assert) { assert.propEqual(convertIntegerToRoman(3.14), {value: 0, message: 'Please enter a valid integer', result: false}, 'TC-6'); }); -QUnit.test('convertRomanToInteger Test Cases', function(assert) { +test('convertRomanToInteger Test Cases', function(assert) { // Test Cases for convertRomanToInteger // TC-1