Rework exercise database

This is now separated into individual tables and methods so that they can be
tested separately
This commit is contained in:
Roland Geider
2023-12-26 17:03:20 +01:00
parent 65ba2275ae
commit c5cbb4f851
31 changed files with 2447 additions and 755 deletions

View File

@@ -20,8 +20,8 @@ Widget createGymModeScreen({locale = 'en'}) {
final mockExerciseProvider = MockExercisesProvider();
when(mockExerciseProvider.findExerciseBaseById(1)).thenReturn(bases[0]); // bench press
when(mockExerciseProvider.findExerciseBaseById(6)).thenReturn(bases[5]); // side raises
when(mockExerciseProvider.findExerciseById(1)).thenReturn(bases[0]); // bench press
when(mockExerciseProvider.findExerciseById(6)).thenReturn(bases[5]); // side raises
//when(mockExerciseProvider.findExerciseBaseById(2)).thenReturn(bases[1]); // crunches
//when(mockExerciseProvider.findExerciseBaseById(3)).thenReturn(bases[2]); // dead lift