{"push_id":2861859124,"size":21,"distinct_size":21,"ref":"refs/heads/master","head":"a662511d816f053e1b88badcf914d489285f95a6","before":"c99d9d3a1e35daffdcd9cedf3e0565953787c6a4","commits":[{"sha":"4cb5c17859d50c3e9e0636c025a879ee3b77577f","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Refactor our assertions and extract them into a separate function.\n\nWe have a lot of repeated code involving checking if slices are equal\nusing reflect.DeepEqual. We extract that code into a separate function.\nA handy side effect of this is that it adds a little type safety to our\ncode. since reflect.DeepEqual is not type safe, but it will be in a\nfunction now.","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/4cb5c17859d50c3e9e0636c025a879ee3b77577f"},{"sha":"331901421bb97b4d9c971ec535b47ef8c33cbe42","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Write test for the Perimeter function.\n\nPerimeter calculates the perimeter of a rectange given the height and\nwidth.","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/331901421bb97b4d9c971ec535b47ef8c33cbe42"},{"sha":"f4080b0881118be9feec0340d41176c4e1e335f2","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Declare the Perimeter function and compile the tests.\n\nWe take as arguments the height and width of the rectangle and return\nthe perimeter. For now we return 0, so that tests compile but fail and\nwe can check the error message.","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/f4080b0881118be9feec0340d41176c4e1e335f2"},{"sha":"406424d3bcac7d5c231b6a93123a12f4910a73c8","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Implement the perimeter of rectangle and pass the tests.","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/406424d3bcac7d5c231b6a93123a12f4910a73c8"},{"sha":"4f8c16e6fdedf5f8f55c9c38283660f67d11dfdb","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Write test for the Area function.\n\nArea function calculate the area of a rectangle given the width and\nheight of a rectangle.","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/4f8c16e6fdedf5f8f55c9c38283660f67d11dfdb"},{"sha":"6e72ebbdde68d43da3e2e5bd0d5438b4430b5d33","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Declare the Area function and compile the tests.","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/6e72ebbdde68d43da3e2e5bd0d5438b4430b5d33"},{"sha":"9b2b7b8bc4af99717729b1982c019985ddd84393","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Implement the Area function and pass the tests.","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/9b2b7b8bc4af99717729b1982c019985ddd84393"},{"sha":"6e4c5d9a148a804fb7f08f49ac262bf5f228660a","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Refactor the program to use structs.\n\nWe use a struct to represent a Rectangle and then pass a variable of the\nRectangle type to our Area and Perimeter function","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/6e4c5d9a148a804fb7f08f49ac262bf5f228660a"},{"sha":"69e3c290d50a38c97a7133a0da35440d4d89ae51","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Convert our test for Area to subtest.\n\nWe want to incorporate other shapes in our TestArea function, so we will\nconvert our previous test to a test of area for Rectangles.:wq","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/69e3c290d50a38c97a7133a0da35440d4d89ae51"},{"sha":"fdba7d21e5a2623809e5c3c37fee2a9ca8ca97b2","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Write test for the area of shape Circle.\n\nWe now want to find the area of a Circle, and write a similar subtest to\nfind it.","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/fdba7d21e5a2623809e5c3c37fee2a9ca8ca97b2"},{"sha":"80f5e4ba4a27edae26b45abbda4ab4eb895dcfc9","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Define our new circle shape.\n\nWe define the circle shape over here, but the tests still won't compile\nsince we can't have the same function with multiple parameters. We will\nhave to use methods.","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/80f5e4ba4a27edae26b45abbda4ab4eb895dcfc9"},{"sha":"6aa3c815857011f059ece1b82371cd2586e1f89b","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Use methods in our test and correct the typo.\n\nCorrect typos for the instantiation of the Circle variable. We also use\nmethods in our TestArea function, an Area method on Rectangle and an\nArea method on Circle","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/6aa3c815857011f059ece1b82371cd2586e1f89b"},{"sha":"634292c103c1ec9c1db0cfb89a55126355443618","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Remove the Area function and add two new methods.\n\nWe declare an Area method for Rectangle and Circle. We also remove the\npreviously defined Area function.","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/634292c103c1ec9c1db0cfb89a55126355443618"},{"sha":"43f5085d2a96dc29ad7d7ae7c7a2fce57d1027d9","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Finish the methods and make the test pass","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/43f5085d2a96dc29ad7d7ae7c7a2fce57d1027d9"},{"sha":"170a60b31506823902b3010c120b64352389c322","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"correct the value of want","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/170a60b31506823902b3010c120b64352389c322"},{"sha":"04acfdcf4f962d9338cfa92697c8a82a3fb4ae70","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Refactor our TestArea by using interfaces.\n\nWe want to create a checkArea function that we can pass both Rectangle\nand Circle, so anything that satisy the Shape interface.","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/04acfdcf4f962d9338cfa92697c8a82a3fb4ae70"},{"sha":"36ca4a1cdc892bf9fa56782a8f188622664289a0","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Add the Shapes interface","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/36ca4a1cdc892bf9fa56782a8f188622664289a0"},{"sha":"0e1d61397455fefb7e87be5dfc2aa7cb8a52b1d5","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Refactor our test and use table tests.\n\nRefactor the TestArea function and use table test. We will create a\nslice of struct containing a type that satisfies Shape and the result\nthat we want. Then we run the Area function on each shape and compare it\nwith the value that we want.","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/0e1d61397455fefb7e87be5dfc2aa7cb8a52b1d5"},{"sha":"02313eca9f06b69d242d6d34e9de119f130e671b","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Add test for a new shape Triangle","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/02313eca9f06b69d242d6d34e9de119f130e671b"},{"sha":"7e2e3b327c97e993e9dfc57dab796e3763f784e8","author":{"name":"mukulrawat1986","email":"4821260c00024119e7b7be66e0d21466aaa02b09@gmail.com"},"message":"Add the Triangle type and declare its method.\n\nSince we want to check the error method we declare the Area method on\nTriangle but return 0, so we can compile the tests but fail it.:","distinct":true,"url":"https://api.github.com/repos/mukulrawat1986/TestingGo/commits/7e2e3b327c97e993e9dfc57dab796e3763f784e8"}]}
{"actor":{"display_login":"mukulrawat1986"}}