{"action":"created","issue":{"url":"https://api.github.com/repos/exercism/x-common/issues/282","repository_url":"https://api.github.com/repos/exercism/x-common","labels_url":"https://api.github.com/repos/exercism/x-common/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/exercism/x-common/issues/282/comments","events_url":"https://api.github.com/repos/exercism/x-common/issues/282/events","html_url":"https://github.com/exercism/x-common/pull/282","id":162338159,"number":282,"title":"Common Test Suite for Robot Simulator","user":{"login":"IanWhitney","id":12144,"avatar_url":"https://avatars.githubusercontent.com/u/12144?v=3","gravatar_id":"","url":"https://api.github.com/users/IanWhitney","html_url":"https://github.com/IanWhitney","followers_url":"https://api.github.com/users/IanWhitney/followers","following_url":"https://api.github.com/users/IanWhitney/following{/other_user}","gists_url":"https://api.github.com/users/IanWhitney/gists{/gist_id}","starred_url":"https://api.github.com/users/IanWhitney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanWhitney/subscriptions","organizations_url":"https://api.github.com/users/IanWhitney/orgs","repos_url":"https://api.github.com/users/IanWhitney/repos","events_url":"https://api.github.com/users/IanWhitney/events{/privacy}","received_events_url":"https://api.github.com/users/IanWhitney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-26T17:36:26Z","updated_at":"2016-06-27T13:56:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/exercism/x-common/pulls/282","html_url":"https://github.com/exercism/x-common/pull/282","diff_url":"https://github.com/exercism/x-common/pull/282.diff","patch_url":"https://github.com/exercism/x-common/pull/282.patch"},"body":"Looking at the tracks that currently implement this problem the core tests seemed\r\nto be\r\n\r\n- Turn and check bearing/direction\r\n- Place and check coordinate/position\r\n- Move and check bearing & coordinates\r\n\r\nThe [F# track](http://exercism.io/exercises/fsharp/robot-simulator) (along with some others) had what seemed to be the most thorough yet small test suite, so I've largely copied their approach here.\r\n\r\nThere were some variant tests that I haven't included, but that I mentioned in the descriptin.\r\n\r\n- Handling invalid directions\r\n- Handling invalid instructions\r\n- Defaults for position and direction\r\n\r\nThese are good things to have, but they aren't currently mentioned in the readme, so I left those tests out.\r\n\r\nThe [Go implementation](http://exercism.io/exercises/go/robot-simulator/readme) is a particular outlier because it was written for a [totally different version of the Readme](https://github.com/exercism/x-common/commit/8aaf6530d79655ca027ebd29cc1144cd900c59ca), so I didn't include any of its additional tests."},"comment":{"url":"https://api.github.com/repos/exercism/x-common/issues/comments/228752581","html_url":"https://github.com/exercism/x-common/pull/282#issuecomment-228752581","issue_url":"https://api.github.com/repos/exercism/x-common/issues/282","id":228752581,"user":{"login":"IanWhitney","id":12144,"avatar_url":"https://avatars.githubusercontent.com/u/12144?v=3","gravatar_id":"","url":"https://api.github.com/users/IanWhitney","html_url":"https://github.com/IanWhitney","followers_url":"https://api.github.com/users/IanWhitney/followers","following_url":"https://api.github.com/users/IanWhitney/following{/other_user}","gists_url":"https://api.github.com/users/IanWhitney/gists{/gist_id}","starred_url":"https://api.github.com/users/IanWhitney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanWhitney/subscriptions","organizations_url":"https://api.github.com/users/IanWhitney/orgs","repos_url":"https://api.github.com/users/IanWhitney/repos","events_url":"https://api.github.com/users/IanWhitney/events{/privacy}","received_events_url":"https://api.github.com/users/IanWhitney/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T13:56:12Z","updated_at":"2016-06-27T13:56:12Z","body":"It doesn't matter to me. I picked parens because that's what I used in [queen-attack.json](https://github.com/exercism/x-common/blob/master/queen-attack.json#L17).\r\n\r\nBut if square brackets are better for languages that auto-generate tests, then that works for me."}}
{"actor":{"display_login":"IanWhitney"}}