Skip to content

Commit 0252be7

Browse files
committed
update test cases to reflect integers
1 parent 557bb88 commit 0252be7

11 files changed

+121
-121
lines changed

api_v2/tests/responses/TestObjects.test_creature_ancient_example.approved.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"long_range": null,
3434
"name": "Bite attack",
3535
"range": null,
36-
"reach": 15.0,
36+
"reach": 15,
3737
"target_creature_only": false,
3838
"to_hit_mod": 17
3939
}
@@ -66,7 +66,7 @@
6666
"long_range": null,
6767
"name": "Claw attack",
6868
"range": null,
69-
"reach": 10.0,
69+
"reach": 10,
7070
"target_creature_only": false,
7171
"to_hit_mod": 17
7272
}
@@ -139,7 +139,7 @@
139139
"long_range": null,
140140
"name": "Tail attack",
141141
"range": null,
142-
"reach": 20.0,
142+
"reach": 20,
143143
"target_creature_only": false,
144144
"to_hit_mod": 17
145145
}
@@ -175,12 +175,12 @@
175175
"alignment": "chaotic evil",
176176
"armor_class": 22,
177177
"armor_detail": "natural armor",
178-
"blindsight_range": 60.0,
178+
"blindsight_range": 60,
179179
"category": "Monsters",
180180
"challenge_rating_decimal": "24.000",
181181
"challenge_rating_text": "24",
182182
"creaturesets": [],
183-
"darkvision_range": 120.0,
183+
"darkvision_range": 120,
184184
"document": {
185185
"display_name": "5e 2014 Rules",
186186
"gamesystem": {
@@ -242,7 +242,7 @@
242242
"wisdom": 2
243243
},
244244
"name": "Ancient Red Dragon",
245-
"normal_sight_range": 10560.0,
245+
"normal_sight_range": 10560,
246246
"passive_perception": 26,
247247
"proficiency_bonus": null,
248248
"resistances_and_immunities": {
@@ -305,20 +305,20 @@
305305
"survival": 2
306306
},
307307
"speed": {
308-
"climb": 40.0,
309-
"fly": 80.0,
308+
"climb": 40,
309+
"fly": 80,
310310
"unit": "feet",
311-
"walk": 40.0
311+
"walk": 40
312312
},
313313
"speed_all": {
314314
"burrow": 0.0,
315-
"climb": 40.0,
315+
"climb": 40,
316316
"crawl": 20.0,
317-
"fly": 80.0,
317+
"fly": 80,
318318
"hover": false,
319319
"swim": 20.0,
320320
"unit": "feet",
321-
"walk": 40.0
321+
"walk": 40
322322
},
323323
"subcategory": "Dragons, Chromatic",
324324
"traits": [

api_v2/tests/responses/TestObjects.test_creature_goblin_example.approved.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"long_range": null,
3030
"name": "Scimitar attack",
3131
"range": null,
32-
"reach": 5.0,
32+
"reach": 5,
3333
"target_creature_only": false,
3434
"to_hit_mod": 4
3535
}
@@ -59,9 +59,9 @@
5959
"extra_damage_die_count": null,
6060
"extra_damage_die_type": null,
6161
"extra_damage_type": null,
62-
"long_range": 320.0,
62+
"long_range": 320,
6363
"name": "Shortbow attack",
64-
"range": 80.0,
64+
"range": 80,
6565
"reach": null,
6666
"target_creature_only": false,
6767
"to_hit_mod": 4
@@ -83,7 +83,7 @@
8383
"challenge_rating_decimal": "0.250",
8484
"challenge_rating_text": "1/4",
8585
"creaturesets": [],
86-
"darkvision_range": 60.0,
86+
"darkvision_range": 60,
8787
"document": {
8888
"display_name": "5e 2014 Rules",
8989
"gamesystem": {
@@ -200,7 +200,7 @@
200200
"wisdom": -1
201201
},
202202
"name": "Goblin",
203-
"normal_sight_range": 10560.0,
203+
"normal_sight_range": 10560,
204204
"passive_perception": 9,
205205
"proficiency_bonus": null,
206206
"resistances_and_immunities": {
@@ -252,7 +252,7 @@
252252
},
253253
"speed": {
254254
"unit": "feet",
255-
"walk": 30.0
255+
"walk": 30
256256
},
257257
"speed_all": {
258258
"burrow": 0.0,
@@ -262,7 +262,7 @@
262262
"hover": false,
263263
"swim": 15.0,
264264
"unit": "feet",
265-
"walk": 30.0
265+
"walk": 30
266266
},
267267
"subcategory": null,
268268
"traits": [

api_v2/tests/responses/TestObjects.test_creature_guard_example.approved.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
"extra_damage_die_count": null,
2727
"extra_damage_die_type": null,
2828
"extra_damage_type": null,
29-
"long_range": 60.0,
29+
"long_range": 60,
3030
"name": "Spear Melee attack",
31-
"range": 20.0,
32-
"reach": 5.0,
31+
"range": 20,
32+
"reach": 5,
3333
"target_creature_only": false,
3434
"to_hit_mod": 3
3535
},
@@ -48,9 +48,9 @@
4848
"extra_damage_die_count": null,
4949
"extra_damage_die_type": null,
5050
"extra_damage_type": null,
51-
"long_range": 60.0,
51+
"long_range": 60,
5252
"name": "Spear Ranged attack",
53-
"range": 20.0,
53+
"range": 20,
5454
"reach": null,
5555
"target_creature_only": false,
5656
"to_hit_mod": 3
@@ -153,7 +153,7 @@
153153
"wisdom": 0
154154
},
155155
"name": "Guard",
156-
"normal_sight_range": 10560.0,
156+
"normal_sight_range": 10560,
157157
"passive_perception": 12,
158158
"proficiency_bonus": null,
159159
"resistances_and_immunities": {
@@ -205,7 +205,7 @@
205205
},
206206
"speed": {
207207
"unit": "feet",
208-
"walk": 30.0
208+
"walk": 30
209209
},
210210
"speed_all": {
211211
"burrow": 0.0,
@@ -215,7 +215,7 @@
215215
"hover": false,
216216
"swim": 15.0,
217217
"unit": "feet",
218-
"walk": 30.0
218+
"walk": 30
219219
},
220220
"subcategory": null,
221221
"traits": [],

0 commit comments

Comments
 (0)