예제 #1
0
 public void Ability_modifier_for_score_14_is_2()
 {
     Assert.Equal(2, DndCharacter.Modifier(14));
 }
예제 #2
0
 public void Ability_modifier_for_score_3_is_minus_4()
 {
     Assert.Equal(-4, DndCharacter.Modifier(3));
 }
예제 #3
0
 public void Ability_modifier_for_score_11_is_0()
 {
     Assert.Equal(0, DndCharacter.Modifier(11));
 }
예제 #4
0
 public void Ability_modifier_for_score_13_is_1()
 {
     Assert.Equal(1, DndCharacter.Modifier(13));
 }
예제 #5
0
 public void Ability_modifier_for_score_9_is_minus_1()
 {
     Assert.Equal(-1, DndCharacter.Modifier(9));
 }
예제 #6
0
 public void Ability_modifier_for_score_7_is_minus_2()
 {
     Assert.Equal(-2, DndCharacter.Modifier(7));
 }
예제 #7
0
 public void Ability_modifier_for_score_5_is_minus_3()
 {
     Assert.Equal(-3, DndCharacter.Modifier(5));
 }
예제 #8
0
 public void Ability_modifier_for_score_18_is_4()
 {
     Assert.Equal(4, DndCharacter.Modifier(18));
 }
예제 #9
0
 public void Ability_modifier_for_score_17_is_3()
 {
     Assert.Equal(3, DndCharacter.Modifier(17));
 }