virtual-labs-archive / data-structures-iiith

This repository contains sources to Data Structures Lab IIITH.
https://cse01-iiith.vlabs.ac.in/
Other
1 stars 73 forks source link

Sorting using Arrays_Merge sort #260

Open chinnusai25 opened 5 years ago

chinnusai25 commented 5 years ago

Defect description: In the section of simulation, under Experiment Sorting using Arrays.In the experiment "Merge sort",on entering the characters(like alphabets) as inputs,it's just considering all the inputs as zero's.Therefore the final sorted array also contains only zero's.

Steps to reproduce the issue : Data structures lab -> List of Experiments -> Sorting using Arrays -> Simulation -> Merge sort

Test step link: http://cse01-iiith.vlabs.ac.in/exp3/Simulation.html?domain=Computer%20Science&lab=Data%20Structures

Expected result: A message or popup saying that "The characters other than integers are not allowed" (or) Should sort the characters based on their ASCII values.

Actual result: It just considered all the inputs entered as zero's.

Screen shot: Screenshot from 2019-03-17 11-03-45 Screenshot from 2019-03-17 11-03-53