{"action":"created","issue":{"url":"https://api.github.com/repos/SeaRbSg/elixir/issues/57","labels_url":"https://api.github.com/repos/SeaRbSg/elixir/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/SeaRbSg/elixir/issues/57/comments","events_url":"https://api.github.com/repos/SeaRbSg/elixir/issues/57/events","html_url":"https://github.com/SeaRbSg/elixir/issues/57","id":106467364,"number":57,"title":"Fix the 4 failing tests","user":{"login":"BKStephens","id":3210044,"avatar_url":"https://avatars.githubusercontent.com/u/3210044?v=3","gravatar_id":"","url":"https://api.github.com/users/BKStephens","html_url":"https://github.com/BKStephens","followers_url":"https://api.github.com/users/BKStephens/followers","following_url":"https://api.github.com/users/BKStephens/following{/other_user}","gists_url":"https://api.github.com/users/BKStephens/gists{/gist_id}","starred_url":"https://api.github.com/users/BKStephens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BKStephens/subscriptions","organizations_url":"https://api.github.com/users/BKStephens/orgs","repos_url":"https://api.github.com/users/BKStephens/repos","events_url":"https://api.github.com/users/BKStephens/events{/privacy}","received_events_url":"https://api.github.com/users/BKStephens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SeaRbSg/elixir/labels/internal%20cleanup","name":"internal cleanup","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-15T03:02:08Z","updated_at":"2015-09-15T03:09:31Z","closed_at":null,"body":"  1) test one player fires 2 missiles (Tanx.BasicTanksTest)\r\n     test/core/basic_tanks_test.exs:91\r\n     Assertion with == failed\r\n     code: view == %Tanx.Core.View.Arena{missiles: [%Tanx.Core.View.Missile{is_mine: true, x: 10.0}, %Tanx.Core.View.Missile{is_mine: true, x: 10.0}], tanks: [%Tanx.Core.View.Tank{is_me: true, name: \"Kyle\", armor: 1.0}]}\r\n     lhs:  %Tanx.Core.View.Arena{entry_points_available: %{},\r\n            explosions: [%Tanx.Core.View.Explosion{age: 0.0, radius: 0.5, sound: nil, x: 10.5, y: 0.0},\r\n             %Tanx.Core.View.Explosion{age: 0.0, radius: 0.5, sound: nil, x: 10.5, y: 0.0}], missiles: [], powerups: [],\r\n            tanks: [%Tanx.Core.View.Tank{armor: 1.0, heading: 0.0, is_me: true, max_armor: 1.0, name: \"Kyle\", radius: 0.5,\r\n              tread: 0.0, x: 0.0, y: 0.0}]}\r\n     rhs:  %Tanx.Core.View.Arena{entry_points_available: %{}, explosions: [],\r\n            missiles: [%Tanx.Core.View.Missile{hx: 0.0, hy: 0.0, is_mine: true, x: 10.0, y: 0.0},\r\n             %Tanx.Core.View.Missile{hx: 0.0, hy: 0.0, is_mine: true, x: 10.0, y: 0.0}], powerups: [],\r\n            tanks: [%Tanx.Core.View.Tank{armor: 1.0, heading: 0.0, is_me: true, max_armor: 1.0, name: \"Kyle\", radius: 0.5,\r\n              tread: 0.0, x: 0.0, y: 0.0}]}\r\n     stacktrace:\r\n       test/core/basic_tanks_test.exs:102\r\n\r\n\r\n\r\n  2) test one player fires missiles too quickly (Tanx.BasicTanksTest)\r\n     test/core/basic_tanks_test.exs:70\r\n     Assertion with == failed\r\n     code: view == %Tanx.Core.View.Arena{missiles: [%Tanx.Core.View.Missile{is_mine: true, x: 10.0}], tanks: [%Tanx.Core.View.Tank{is_me: true, name: \"Kyle\", armor: 1.0}]}\r\n     lhs:  %Tanx.Core.View.Arena{entry_points_available: %{},\r\n            explosions: [%Tanx.Core.View.Explosion{age: 0.0, radius: 0.5, sound: nil, x: 10.5, y: 0.0}], missiles: [],\r\n            powerups: [],\r\n            tanks: [%Tanx.Core.View.Tank{armor: 1.0, heading: 0.0, is_me: true, max_armor: 1.0, name: \"Kyle\", radius: 0.5,\r\n              tread: 0.0, x: 0.0, y: 0.0}]}\r\n     rhs:  %Tanx.Core.View.Arena{entry_points_available: %{}, explosions: [],\r\n            missiles: [%Tanx.Core.View.Missile{hx: 0.0, hy: 0.0, is_mine: true, x: 10.0, y: 0.0}], powerups: [],\r\n            tanks: [%Tanx.Core.View.Tank{armor: 1.0, heading: 0.0, is_me: true, max_armor: 1.0, name: \"Kyle\", radius: 0.5,\r\n              tread: 0.0, x: 0.0, y: 0.0}]}\r\n     stacktrace:\r\n       test/core/basic_tanks_test.exs:80\r\n\r\n\r\n\r\n  3) test one player fires a missile (Tanx.BasicTanksTest)\r\n     test/core/basic_tanks_test.exs:51\r\n     Assertion with == failed\r\n     code: view == %Tanx.Core.View.Arena{missiles: [%Tanx.Core.View.Missile{is_mine: true, x: 10.0}], tanks: [%Tanx.Core.View.Tank{is_me: true, name: \"Kyle\", armor: 1.0}]}\r\n     lhs:  %Tanx.Core.View.Arena{entry_points_available: %{},\r\n            explosions: [%Tanx.Core.View.Explosion{age: 0.0, radius: 0.5, sound: nil, x: 10.5, y: 0.0}], missiles: [],\r\n            powerups: [],\r\n            tanks: [%Tanx.Core.View.Tank{armor: 1.0, heading: 0.0, is_me: true, max_armor: 1.0, name: \"Kyle\", radius: 0.5,\r\n              tread: 0.0, x: 0.0, y: 0.0}]}\r\n     rhs:  %Tanx.Core.View.Arena{entry_points_available: %{}, explosions: [],\r\n            missiles: [%Tanx.Core.View.Missile{hx: 0.0, hy: 0.0, is_mine: true, x: 10.0, y: 0.0}], powerups: [],\r\n            tanks: [%Tanx.Core.View.Tank{armor: 1.0, heading: 0.0, is_me: true, max_armor: 1.0, name: \"Kyle\", radius: 0.5,\r\n              tread: 0.0, x: 0.0, y: 0.0}]}\r\n     stacktrace:\r\n       test/core/basic_tanks_test.exs:59\r\n\r\n\r\n\r\n  4) test one player fires a too many missiles (Tanx.BasicTanksTest)\r\n     test/core/basic_tanks_test.exs:120\r\n     Assertion with == failed\r\n     code: view == %Tanx.Core.View.Arena{missiles: [%Tanx.Core.View.Missile{is_mine: true, x: 10.0}, %Tanx.Core.View.Missile{is_mine: true, x: 10.0}, %Tanx.Core.View.Missile{is_mine: true, x: 10.0}, %Tanx.Core.View.Missile{is_mine: true,\r\nx: 10.0}, %Tanx.Core.View.Missile{is_mine: true, x: 10.0}], tanks: [%Tanx.Core.View.Tank{is_me: true, name: \"Kyle\", armor: 1.0}]}\r\n     lhs:  %Tanx.Core.View.Arena{entry_points_available: %{},\r\n            explosions: [%Tanx.Core.View.Explosion{age: 0.0, radius: 0.5, sound: nil, x: 10.5, y: 0.0},\r\n             %Tanx.Core.View.Explosion{age: 0.0, radius: 0.5, sound: nil, x: 10.5, y: 0.0},\r\n             %Tanx.Core.View.Explosion{age: 0.0, radius: 0.5, sound: nil, x: 10.5, y: 0.0},\r\n             %Tanx.Core.View.Explosion{age: 0.0, radius: 0.5, sound: nil, x: 10.5, y: 0.0},\r\n             %Tanx.Core.View.Explosion{age: 0.0, radius: 0.5, sound: nil, x: 10.5, y: 0.0}], missiles: [], powerups: [],\r\n            tanks: [%Tanx.Core.View.Tank{armor: 1.0, heading: 0.0, is_me: true, max_armor: 1.0, name: \"Kyle\", radius: 0.5,\r\n              tread: 0.0, x: 0.0, y: 0.0}]}\r\n     rhs:  %Tanx.Core.View.Arena{entry_points_available: %{}, explosions: [],\r\n            missiles: [%Tanx.Core.View.Missile{hx: 0.0, hy: 0.0, is_mine: true, x: 10.0, y: 0.0},\r\n             %Tanx.Core.View.Missile{hx: 0.0, hy: 0.0, is_mine: true, x: 10.0, y: 0.0},\r\n             %Tanx.Core.View.Missile{hx: 0.0, hy: 0.0, is_mine: true, x: 10.0, y: 0.0},\r\n             %Tanx.Core.View.Missile{hx: 0.0, hy: 0.0, is_mine: true, x: 10.0, y: 0.0},\r\n             %Tanx.Core.View.Missile{hx: 0.0, hy: 0.0, is_mine: true, x: 10.0, y: 0.0}], powerups: [],\r\n            tanks: [%Tanx.Core.View.Tank{armor: 1.0, heading: 0.0, is_me: true, max_armor: 1.0, name: \"Kyle\", radius: 0.5,\r\n              tread: 0.0, x: 0.0, y: 0.0}]}\r\n     stacktrace:\r\n       test/core/basic_tanks_test.exs:139"},"comment":{"url":"https://api.github.com/repos/SeaRbSg/elixir/issues/comments/140266975","html_url":"https://github.com/SeaRbSg/elixir/issues/57#issuecomment-140266975","issue_url":"https://api.github.com/repos/SeaRbSg/elixir/issues/57","id":140266975,"user":{"login":"BKStephens","id":3210044,"avatar_url":"https://avatars.githubusercontent.com/u/3210044?v=3","gravatar_id":"","url":"https://api.github.com/users/BKStephens","html_url":"https://github.com/BKStephens","followers_url":"https://api.github.com/users/BKStephens/followers","following_url":"https://api.github.com/users/BKStephens/following{/other_user}","gists_url":"https://api.github.com/users/BKStephens/gists{/gist_id}","starred_url":"https://api.github.com/users/BKStephens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BKStephens/subscriptions","organizations_url":"https://api.github.com/users/BKStephens/orgs","repos_url":"https://api.github.com/users/BKStephens/repos","events_url":"https://api.github.com/users/BKStephens/events{/privacy}","received_events_url":"https://api.github.com/users/BKStephens/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T03:09:31Z","updated_at":"2015-09-15T03:09:31Z","body":"I ran git bisect, and I believe \"1) test one player fires 2 missiles (Tanx.BasicTanksTest)\" broke with 1d20cfaba9eacc358fd6cdd44336b33cb267d434."}}