Skip to content

Instantly share code, notes, and snippets.

@j5ik2o
Last active June 25, 2016 06:55
Show Gist options
  • Save j5ik2o/e84bbc3142664f1590a4f04b837e2880 to your computer and use it in GitHub Desktop.
Save j5ik2o/e84bbc3142664f1590a4f04b837e2880 to your computer and use it in GitHub Desktop.

自動販売機のシナリオ

  • 購入者は、自動販売機に、料金を投下し飲料を購入できる。
    • おつりがある場合は自動販売機から払い出される。
    • 飲料毎に料金が違うものとする。
    • 売り切れの飲料は購入できない。
  • 管理者は、自動販売機内の料金を回収できる。
  • 管理者は、自動販売機内の飲料在庫を確認できる。
  • 管理者は、自動販売機内の飲料在庫を追加できる。
  • 管理者は、自動販売機内の飲料に対して価格を設定できる。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment