Sha256: 0639cfd87dd6359417d3ae56659b8b0e6b0283fea2235a57fdaa93ab47bfc769
Contents?: true
Size: 836 Bytes
Versions: 25
Compression:
Stored size: 836 Bytes
Contents
Feature: Trading In order to avoid lost trades Traders should be alerted about stocks Scenario: Status alert can be activated Given a stock of prices 0.5,1.0 and a threshold of 10.0 When the stock is traded at 5.0 Then the alert status should be OFF When the stock is traded at 11.0 Then the alert status should be ON Scenario: Status alert is never activated Given a stock of prices 0.5,1.0 and a threshold of 15.0 When the stock is traded at 5.0 Then the alert status should be OFF When the stock is traded at 11.0 Then the alert status should be OFF Scenario: Trader sells all stocks Given a trader of name Mauro Given a stock of prices 0.5,1.0 and a threshold of 1.5 When the stock is traded at 2.0 Then the trader sells all stocks And the trader gets a bonus
Version data entries
25 entries across 25 versions & 3 rubygems