virtual-labs-archive / data-structures-iiith

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

data-structures-lab_search-tree_simulation #411

Open arathyrose opened 5 years ago

arathyrose commented 5 years ago

DEFECT DESCRIPTION

Weird behaviour of the simulation

STEPS TO REPRODUCE

  1. Go to this link
  2. Go to list of experiments
  3. Go to search trees
  4. Click on Simulation and then the link on that page. (Direct link: https://cse01-iiith.vlabs.ac.in/exp5/binarySearchTree.html)

PROCEDURE, EXPECTED OUTPUT AND ACTUAL OUTPUT

Case1: Click on insert randomly. Expected: nothing should happen Actual: 0 gets inserted

Case2: Click on delete randomly Expected: nothing should happen Actual: 0 gets deleted if available, otherwise it shows going right of the root node

Case3: Give some random input(like negative numbers, or fractions, characters) Expected: It should show invalid input Actual: It considers it as 0

psuryachaitanya commented 5 years ago

I will take up this issue @arathyrose