Coder Social home page Coder Social logo

ped's People

Contributors

rizemon avatar

Watchers

 avatar

ped's Issues

Ignoring of spaces in the command line

image.png

I was still able to execute the command even though I did not include spaces in my command, even though the command format in the user guide did show that I needed to include spaces.

Entering of expired ingredients

image.png

I was able to enter an ingredient that expired many years ago and while the number of days to expirations is correct, it doesn't make sense to have a negative number of days to expiration.

Acceptance of 1e9

image.png

I was able to specify 1e9 for the amount, which while in some programming languages is treated as a very big number, it still contains a letter e in it , therefore it should be flagged as an invalid value.

Not allowing extra spaces in command

image.png

The first command was considered invalid even though I simply entered extra spaces between the command and the argument. The user guide did not mention entering about having strictly one space between the command and argument.

Poor adherance to the argument flags

image.png

In the user guide for the add command, the flags are n/, a/, e/. However I was still able to add an ingredient even though I specified the wrong kind of argument flags.

Negative value for amount argument

image.png

I was able to specify a negative value and update the quantity to a negative weight. I was expecting that the program will error out since it does not make sense for weight to be negative.

Case-insensitive search for ingredient names

image.png

I was able to find an ingredient even though the string I used was not exactly contained in the ingredient name. Perhaps in the user guide, specify that search is case-insensitive?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.