Merge branch 'saifulazad-patch-1'
This commit is contained in:
commit
9074a9ca05
@ -31,6 +31,6 @@ public class MeleeStrategy implements DragonSlayingStrategy {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void execute() {
|
public void execute() {
|
||||||
System.out.println("With your Excalibur you severe the dragon's head!");
|
System.out.println("With your Excalibur you sever the dragon's head!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -52,7 +52,7 @@ public class DragonSlayingStrategyTest {
|
|||||||
return Arrays.asList(
|
return Arrays.asList(
|
||||||
new Object[]{
|
new Object[]{
|
||||||
new MeleeStrategy(),
|
new MeleeStrategy(),
|
||||||
"With your Excalibur you severe the dragon's head!"
|
"With your Excalibur you sever the dragon's head!"
|
||||||
},
|
},
|
||||||
new Object[]{
|
new Object[]{
|
||||||
new ProjectileStrategy(),
|
new ProjectileStrategy(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user