Class Scenario: an agent can post an {offer-demand} pair to the OfferNet

5

tests

0

failures

0

ignored

11.122s

duration

100%

successful

Tests

Test Duration Result
And Agent "AgentOne" owns a work which "offers" item "0.15" 0s passed
Given Agent "AgentOne" is created on the OfferNet 0s passed
Then Agent "AgentOne" owns a work which "demands" item "0.57" 0s passed
When Agent "AgentOne" posts a pair of offer "0.15" and demand of "0.57" 0s passed
classMethod 11.122s passed

Standard output

  #@ignore
  @indoc
  Scenario: an agent can 'befriend' another agent existing in the network ?[90m# AgentBehavior.feature:19?[0m
    OfferNet is a social network of Agents. Each agent has an ability to initiate creation of 'knows' link to another agent existing in the network. So if two unconnected agents exist on the network and one of them knows the identity of the other, then the first one can initiate creation of 'knows' link to another in the underlying graph which should result in the appropriate relation between them. Note that the 'knows' relation is not reciprocal.

    ?[32mGiven ?[0m?[32mAgent "?[0m?[32m?[1mAgentOne?[0m?[32m" is created on the OfferNet?[0m                     ?[90m# AgentBehaviorStepDefs.agentIsCreatedOnTheOfferNet(String)?[0m
    ?[32mAnd ?[0m?[32mAgent "?[0m?[32m?[1mAgentTwo?[0m?[32m" is created on the OfferNet?[0m                       ?[90m# AgentBehaviorStepDefs.agentIsCreatedOnTheOfferNet(String)?[0m
    ?[32mAnd ?[0m?[32mthere is no "?[0m?[32m?[1mknows?[0m?[32m" link between "?[0m?[32m?[1mAgentOne?[0m?[32m" and "?[0m?[32m?[1mAgentTwo?[0m?[32m"?[0m        ?[90m# AgentBehaviorStepDefs.thereIsNoLinkBetweenAnd(String,String,String)?[0m
    ?[32mAnd ?[0m?[32mthere is no "?[0m?[32m?[1mknows?[0m?[32m" link between "?[0m?[32m?[1mAgentTwo?[0m?[32m" and "?[0m?[32m?[1mAgentOne?[0m?[32m"?[0m        ?[90m# AgentBehaviorStepDefs.thereIsNoLinkBetweenAnd(String,String,String)?[0m
    ?[32mWhen ?[0m?[32mAgent "?[0m?[32m?[1mAgentOne?[0m?[32m" befriends Agent "?[0m?[32m?[1mAgentTwo?[0m?[32m"?[0m                      ?[90m# AgentBehaviorStepDefs.agentBefriendsAgent(String,String)?[0m
    ?[32mThen ?[0m?[32mthere is "?[0m?[32m?[1mknows?[0m?[32m" link between "?[0m?[32m?[1mAgentOne?[0m?[32m" and "?[0m?[32m?[1mAgentTwo?[0m?[32m"?[0m          ?[90m# AgentBehaviorStepDefs.thereIsLinkBetweenAnd(String,String,String)?[0m
    ?[32mAnd ?[0m?[32mthere is no "?[0m?[32m?[1mknows?[0m?[32m" link between "?[0m?[32m?[1mAgentTwo?[0m?[32m" and "?[0m?[32m?[1mAgentOne?[0m?[32m"?[0m        ?[90m# AgentBehaviorStepDefs.thereIsNoLinkBetweenAnd(String,String,String)?[0m