@@ -168,7 +168,7 @@ test('expects to generate correct table structure with mixed problem sources', (
168168 expect (table ).toHaveProperty (' tessoku-book' );
169169 expect (table [' tessoku-book' ]).toHaveProperty (' A06' );
170170 expect (table [' tessoku-book' ][' A06' ]).toEqual (
171- expect .objectContaining ({ problem_id : ' math_and_algorithm_ai' }),
171+ expect .objectContaining ({ task_id : ' math_and_algorithm_ai' }),
172172 );
173173});
174174```
@@ -217,7 +217,7 @@ test('expects to get header IDs for tasks correctly in ascending order', () => {
217217});
218218```
219219
220- ** 期待値** : 昇順ソート済みの problem_index 配列
220+ ** 期待値** : 昇順ソート済みの task_table_index 配列
221221** 検証方法** : ` toEqual() ` (順序重要)
222222
223223---
@@ -291,7 +291,7 @@ test('expects to handle task results with different contest types', () => {
291291 const provider = new TessokuBookProvider (ContestType .TESSOKU_BOOK );
292292 const mixedTasks = [
293293 { contest_id: ' tessoku-book' , task_id: ' math_and_algorithm_ai' , task_table_index: ' A06' },
294- { contest_id: ' abc123' , task_id: ' abc123_a' , problem_index : ' A' },
294+ { contest_id: ' abc123' , task_id: ' abc123_a' , task_table_index : ' A' },
295295 { contest_id: ' tessoku-book' , task_id: ' typical90_a' , task_table_index: ' A77' },
296296 { contest_id: ' typical90' , task_id: ' typical90_b' , task_table_index: ' B' },
297297 ];
@@ -315,63 +315,63 @@ test('expects to handle task results with different contest types', () => {
315315export const taskResultsForTessokuBookProvider: TaskResults = [
316316 {
317317 contest_id: ' tessoku-book' ,
318- problem_id : ' math_and_algorithm_ai' ,
319- problem_index : ' A06' ,
318+ task_id : ' math_and_algorithm_ai' ,
319+ task_table_index : ' A06' ,
320320 },
321321 {
322322 contest_id: ' tessoku-book' ,
323- problem_id : ' math_and_algorithm_o' ,
324- problem_index : ' A27' ,
323+ task_id : ' math_and_algorithm_o' ,
324+ task_table_index : ' A27' ,
325325 },
326326 {
327327 contest_id: ' tessoku-book' ,
328- problem_id : ' math_and_algorithm_aq' ,
329- problem_index : ' A29' ,
328+ task_id : ' math_and_algorithm_aq' ,
329+ task_table_index : ' A29' ,
330330 },
331331 {
332332 contest_id: ' tessoku-book' ,
333- problem_id : ' math_and_algorithm_bn' ,
334- problem_index : ' A39' ,
333+ task_id : ' math_and_algorithm_bn' ,
334+ task_table_index : ' A39' ,
335335 },
336336 {
337337 contest_id: ' tessoku-book' ,
338- problem_id : ' math_and_algorithm_an' ,
339- problem_index : ' A63' ,
338+ task_id : ' math_and_algorithm_an' ,
339+ task_table_index : ' A63' ,
340340 },
341341 {
342342 contest_id: ' tessoku-book' ,
343- problem_id : ' typical90_a' ,
344- problem_index : ' A77' ,
343+ task_id : ' typical90_a' ,
344+ task_table_index : ' A77' ,
345345 },
346346 {
347347 contest_id: ' tessoku-book' ,
348- problem_id : ' math_and_algorithm_al' ,
349- problem_index : ' B07' ,
348+ task_id : ' math_and_algorithm_al' ,
349+ task_table_index : ' B07' ,
350350 },
351351 {
352352 contest_id: ' tessoku-book' ,
353- problem_id : ' dp_a' ,
354- problem_index : ' B16' ,
353+ task_id : ' dp_a' ,
354+ task_table_index : ' B16' ,
355355 },
356356 {
357357 contest_id: ' tessoku-book' ,
358- problem_id : ' math_and_algorithm_ap' ,
359- problem_index : ' B28' ,
358+ task_id : ' math_and_algorithm_ap' ,
359+ task_table_index : ' B28' ,
360360 },
361361 {
362362 contest_id: ' tessoku-book' ,
363- problem_id : ' abc007_3' ,
364- problem_index : ' B63' ,
363+ task_id : ' abc007_3' ,
364+ task_table_index : ' B63' ,
365365 },
366366 {
367367 contest_id: ' tessoku-book' ,
368- problem_id : ' math_and_algorithm_ac' ,
369- problem_index : ' C09' ,
368+ task_id : ' math_and_algorithm_ac' ,
369+ task_table_index : ' C09' ,
370370 },
371371 {
372372 contest_id: ' tessoku-book' ,
373- problem_id : ' typical90_s' ,
374- problem_index : ' C18' ,
373+ task_id : ' typical90_s' ,
374+ task_table_index : ' C18' ,
375375 },
376376];
377377```
0 commit comments