Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ICubE- committed Nov 9, 2023
1 parent 4b06d5c commit c54541a
Showing 1 changed file with 37 additions and 28 deletions.
65 changes: 37 additions & 28 deletions text-ui-test/EXPECTED.TXT
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Directory created: data
FitTrack - Version 2.1
Welcome to FitTrack!
___________.__ __ ___________ __
Expand All @@ -6,24 +7,32 @@ ___________.__ __ ___________ __
| \ | || | | | | | \/ __ \ \___| <
\___ / |__||__| |____| |__| (____ /\___ >__|_ \
____________________________________________________________
Directory created: data
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal):
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal).
Enter in format of `h/<HEIGHT> w/<WEIGHT> g/<GENDER> l/<CALORIE_LIMIT>`.
Weight must be a number.
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal):
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal).
Enter in format of `h/<HEIGHT> w/<WEIGHT> g/<GENDER> l/<CALORIE_LIMIT>`.
Height must be a positive value.
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal):
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal).
Enter in format of `h/<HEIGHT> w/<WEIGHT> g/<GENDER> l/<CALORIE_LIMIT>`.
Weight must be a positive value.
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal):
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal).
Enter in format of `h/<HEIGHT> w/<WEIGHT> g/<GENDER> l/<CALORIE_LIMIT>`.
Calories must not be a negative value.
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal):
Wrong format. Please enter h/<height> w/<weight> g/<gender> l/<dailyCalorieLimit>
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal):
Wrong format. Please enter h/<height> w/<weight> g/<gender> l/<dailyCalorieLimit>
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal):
Wrong format. Please enter h/<height> w/<weight> g/<gender> l/<dailyCalorieLimit>
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal):
Wrong format. Please enter h/<height> w/<weight> g/<gender> l/<dailyCalorieLimit>
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal):
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal).
Enter in format of `h/<HEIGHT> w/<WEIGHT> g/<GENDER> l/<CALORIE_LIMIT>`.
The input pattern is not valid.
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal).
Enter in format of `h/<HEIGHT> w/<WEIGHT> g/<GENDER> l/<CALORIE_LIMIT>`.
The input pattern is not valid.
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal).
Enter in format of `h/<HEIGHT> w/<WEIGHT> g/<GENDER> l/<CALORIE_LIMIT>`.
The input pattern is not valid.
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal).
Enter in format of `h/<HEIGHT> w/<WEIGHT> g/<GENDER> l/<CALORIE_LIMIT>`.
The input pattern is not valid.
Please enter your height (in cm), weight (in kg), gender (M or F), and daily calorie limit (in kcal).
Enter in format of `h/<HEIGHT> w/<WEIGHT> g/<GENDER> l/<CALORIE_LIMIT>`.
Here are your profile settings.
Height: Height: 180.0cm
Weight: 80.0kg
Expand Down Expand Up @@ -204,14 +213,14 @@ Recommended Weight: 66.02 kg

____________________________________________________________
`addsteps 2000 d/` is an invalid command. The input pattern is not valid.
`addsteps` shows your total number of steps on a specific date.
Type `addsteps <DATE>` to add an entry of the steps walked on that date.
`addsteps` adds your step data to the list.
Type `addsteps <NUMBER_OF_STEPS> d/<DATE>` to add an entry of the steps walked on that date.
You should type <DATE> in format of `yyyy-MM-dd`.

____________________________________________________________
`addsteps` is an invalid command. The input pattern is not valid.
`addsteps` shows your total number of steps on a specific date.
Type `addsteps <DATE>` to add an entry of the steps walked on that date.
`addsteps` adds your step data to the list.
Type `addsteps <NUMBER_OF_STEPS> d/<DATE>` to add an entry of the steps walked on that date.
You should type <DATE> in format of `yyyy-MM-dd`.

____________________________________________________________
Expand All @@ -220,30 +229,30 @@ Type `help` or `help <COMMAND>` to view help.

____________________________________________________________
`addsteps 200 d/2023-11` is an invalid command. The date format is not valid.
`addsteps` shows your total number of steps on a specific date.
Type `addsteps <DATE>` to add an entry of the steps walked on that date.
`addsteps` adds your step data to the list.
Type `addsteps <NUMBER_OF_STEPS> d/<DATE>` to add an entry of the steps walked on that date.
You should type <DATE> in format of `yyyy-MM-dd`.

____________________________________________________________
`addsteps 2000 2023-11-11` is an invalid command. The input pattern is not valid.
`addsteps` shows your total number of steps on a specific date.
Type `addsteps <DATE>` to add an entry of the steps walked on that date.
`addsteps` adds your step data to the list.
Type `addsteps <NUMBER_OF_STEPS> d/<DATE>` to add an entry of the steps walked on that date.
You should type <DATE> in format of `yyyy-MM-dd`.

____________________________________________________________
`addsteps d/2023-11-11` is an invalid command. For input string: "d/2023-11-11"
`addsteps` shows your total number of steps on a specific date.
Type `addsteps <DATE>` to add an entry of the steps walked on that date.
`addsteps d/2023-11-11` is an invalid command. The input pattern is not valid.
`addsteps` adds your step data to the list.
Type `addsteps <NUMBER_OF_STEPS> d/<DATE>` to add an entry of the steps walked on that date.
You should type <DATE> in format of `yyyy-MM-dd`.

____________________________________________________________
I've added the following steps:
[S] 2000 steps (2023-11-11)

____________________________________________________________
`addsteps d/` is an invalid command. For input string: "d/"
`addsteps` shows your total number of steps on a specific date.
Type `addsteps <DATE>` to add an entry of the steps walked on that date.
`addsteps d/` is an invalid command. The input pattern is not valid.
`addsteps` adds your step data to the list.
Type `addsteps <NUMBER_OF_STEPS> d/<DATE>` to add an entry of the steps walked on that date.
You should type <DATE> in format of `yyyy-MM-dd`.

____________________________________________________________
Expand Down

0 comments on commit c54541a

Please sign in to comment.