2011-nov02-net / 2011-nov02-net/jay-project0

Store method AddToInventory missing condition

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

AddToInventory is an if-then statement in the Aquarium.Library.Store (Line 14) class that checks whether the animal exists but doesn't check whether the quantity passed in is a positive number. Needs a check to verify that we aren't adding a negative quantity to the AddToInventory method.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。