I worked on the assignment 1 during this weekend. While I was working on it with my partner, both of us were confused and had hard time working on
it. We discussed many things such as deciding between a dictionary and a list, but we ended up using a list. When we finished the first part up of it, but the graphic of this game did not work. So we had hard time to figure out the problem and to fix the codes. We still need more steps to finish, but I think we might have difficult
time to complete the A1. So after this assignment, I need to go over all the
concepts and to practice more.
2014년 2월 9일 일요일
2014년 2월 1일 토요일
WEEK 4
This week lab was helpful for me to practice
writing a unittest. I have learnt and
also have seen what unittest is and what it does in csc108 course, but I didn’t
have any experience writing it. During the lab, I and my partner had to write
one, but both of us didn’t know what to write. So we looked up how to write and
the examples we went over during a lecture. I was not sure the way I wrote is right
or not but since it worked without raising an error, I thought it was ok. I need
more practice on this. New stuffs I learnt were an importance of tearDown
method in unittest and a proper way to write a super method. The first method
clears up all the data at the end to return to its initial state. Another
method is super (SubClass, instance).method (args). This one is similar as using
Class.method(args). I was not sure about the super method, but since I know it I
should get used to using it. As well as, I should practice more on writing a
unittest, too!
피드 구독하기:
글 (Atom)