Skip to content

joongs/Design-Pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Design-Pattern

This Repository subject is Design Pattern. I make it by using Test Driven Development method.

Strategy Pattern : Sample Duck

  1. Add Mallard Duck class including methods about getName(), quack(), swim(), display() - 2017/01/12
  2. Add Redhead Duck class including methods about getName(), quack(), swim(), display() - 2017/01/12
  3. Add Rubber Duck class including methods about getName(), quack(), swim(), display() - 2017/01/13
  4. Add Decoy Duck class including methods about getName(), quack(), swim(), display() - 2017/01/13
  5. Add Model Duck class including methods about getName(), quack(), swim(), display() - 2017/01/13
  6. Add QuackBehavior interface - 2017/01/14
  7. Add FlyBehavior interface - 2017/01/14
  8. Add Dynamic changing Behavior by called setQuackBehavior method in Duck class - 2017/01/15
  9. Add Dynamic changing Behavior by called setFlyBehavior method in Duck class - 2017/01/15

Strategy Pattern : Character

  1. Add King class and TestCase - 2017/01/16
  2. Add Knight class and TestCase - 2017/01/16
  3. Add WeaponBehavior interface and Sword class, Axo class - 2017/01/16
  4. Add Weapon, Knife class and BowAndArrow class - 2017/01/17

Observer Pattern : WeatherData

  1. Add WeatherData class and TestCase - 2017/01/19
  2. Add CurrentConditionDisplay class and TestCase - 2017/01/21
  3. Add StatisticsDisplay class and TestCase - 2017/01/22
  4. Add ForcastDisplay class and TestCase - 2017/01/23

About

This Repository subject is Design Pattern. I make it by using Test Driven Development method.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages