{"action":"opened","issue":{"url":"https://api.github.com/repos/boardgaming/sun-tzu/issues/17","labels_url":"https://api.github.com/repos/boardgaming/sun-tzu/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/boardgaming/sun-tzu/issues/17/comments","events_url":"https://api.github.com/repos/boardgaming/sun-tzu/issues/17/events","html_url":"https://github.com/boardgaming/sun-tzu/issues/17","id":59093177,"number":17,"title":"Basic test coverage","user":{"login":"marvelousNinja","id":902788,"avatar_url":"https://avatars.githubusercontent.com/u/902788?v=3","gravatar_id":"","url":"https://api.github.com/users/marvelousNinja","html_url":"https://github.com/marvelousNinja","followers_url":"https://api.github.com/users/marvelousNinja/followers","following_url":"https://api.github.com/users/marvelousNinja/following{/other_user}","gists_url":"https://api.github.com/users/marvelousNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/marvelousNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvelousNinja/subscriptions","organizations_url":"https://api.github.com/users/marvelousNinja/orgs","repos_url":"https://api.github.com/users/marvelousNinja/repos","events_url":"https://api.github.com/users/marvelousNinja/events{/privacy}","received_events_url":"https://api.github.com/users/marvelousNinja/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-26T15:59:36Z","updated_at":"2015-02-26T15:59:36Z","closed_at":null,"body":"We need to cover simulator with simple smoke tests (to ensure that it works at least for well-known cases). Consider writing some tests for:\r\n1) Cases where fleet has no guns.\r\n2) Cases where fleet has tooo much hp.\r\n3) Cases where fleets have enormous number of guns.\r\n4) Cases where one fleet has lots of hp, but low initiative, and other fleet has ships with 1hp but lots of guns.\r\n\r\nThese cases cover some basic corner cases with probabilities like 0%/100% for each test."}}