Skip to content

Commit

Permalink
fix I/O
Browse files Browse the repository at this point in the history
  • Loading branch information
MeLoveCarbs committed Apr 11, 2020
1 parent 8daa547 commit 09c215f
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 176 deletions.
123 changes: 35 additions & 88 deletions text-ui-test/ACTUAL.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
\ /| Y \ ___/| | \| \ | | \/\ ___/\ ___/
\__/\ / |___| /\___ >___| /\___ / |__| \___ >\___ >
\/ \/ \/ \/ \/ \/ \/
There are no previous records, let's create a new one!
________________________________________________________________________________________________________________________________
[contacts] List all contacts.
[timetable] Display combined timetable of selected contacts.
Expand All @@ -13,10 +14,9 @@ ________________________________________________________________________________
[meetings] List all scheduled meetings.
[exit] Exit application.

Insert your member's timetable by following: <name of new member> <nusmods link>
Insert your own timetable by following: <name of new member> <nusmods link>
________________________________________________________________________________________________________________________________
Tommy already exists!
OOPS!! Repeated user
Added Tommy
________________________________________________________________________________________________________________________________
[contacts] List all contacts.
[timetable] Display combined timetable of selected contacts.
Expand All @@ -40,8 +40,7 @@ ________________________________________________________________________________

Insert your member's timetable by following: <name of new member> <nusmods link>
________________________________________________________________________________________________________________________________
Agnus already exists!
OOPS!! Repeated user
Added Agnus
________________________________________________________________________________________________________________________________
[contacts] List all contacts.
[timetable] Display combined timetable of selected contacts.
Expand Down Expand Up @@ -149,30 +148,6 @@ Date: 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th 16th
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | X | | X | | | | | | X | | X | | |
1800 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | | | |
1900 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
2000 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
2100 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
2200 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
2300 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | | | |
2400 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
________________________________________________________________________________________________________________________________
[contacts] List all contacts.
[timetable] Display combined timetable of selected contacts.
Expand All @@ -194,13 +169,13 @@ Date: 5th 6th 7th 8th 9th 10th 11th
+-----+-----+-----+-----+-----+-----+-----+
| | | X | | | | |
1000 +-----+-----+-----+-----+-----+-----+-----+
| | | X | X | X | | |
| | | X | X | | | |
+-----+-----+-----+-----+-----+-----+-----+
| | | X | X | X | | |
| | | X | X | | | |
1100 +-----+-----+-----+-----+-----+-----+-----+
| | | X | | X | | |
| | | X | | | | |
+-----+-----+-----+-----+-----+-----+-----+
| | | X | | X | | |
| | | X | | | | |
1200 +-----+-----+-----+-----+-----+-----+-----+
| | X | X | X | X | | |
+-----+-----+-----+-----+-----+-----+-----+
Expand All @@ -226,6 +201,14 @@ Date: 5th 6th 7th 8th 9th 10th 11th
+-----+-----+-----+-----+-----+-----+-----+
| | | X | | X | | |
1800 +-----+-----+-----+-----+-----+-----+-----+
| | | | | | X | |
+-----+-----+-----+-----+-----+-----+-----+
| | | | | | X | |
1900 +-----+-----+-----+-----+-----+-----+-----+
| | | | | | X | |
+-----+-----+-----+-----+-----+-----+-----+
| | | | | | X | |
2000 +-----+-----+-----+-----+-----+-----+-----+
[NOTE] You can type "more" for next week's timetable as well!
________________________________________________________________________________________________________________________________
[contacts] List all contacts.
Expand All @@ -244,17 +227,17 @@ Timetable of the selected team member/s this week:
Date: 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th 16th 17th 18th
SUN MON TUE WED THU FRI SAT SUN MON TUE WED THU FRI SAT
0900 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | X | | | | | | | | X | | | | |
| | | X | | | | | | | X | X | | | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | X | | | | | | | | X | | | | |
| | | X | | | | | | | X | X | | | | |
1000 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | X | X | X | | | | | | X | X | X | | |
| | | X | X | | | | | | X | X | X | | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | X | X | X | | | | | | X | X | X | | |
| | | X | X | | | | | | X | X | X | | | |
1100 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | X | | X | | | | | | X | | X | | |
| | | X | | | | | | | X | X | | | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | X | | X | | | | | | X | | X | | |
| | | X | | | | | | | X | X | | | | |
1200 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | X | X | X | X | | | | | X | X | X | X | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
Expand All @@ -280,30 +263,14 @@ Date: 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th 16th
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | X | | X | | | | | | X | | X | | |
1800 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | | | |
| | | | | | X | | | | | | | | X | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | | | |
| | | | | | X | | | | | | | | X | |
1900 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
| | | | | | X | | | | | | | | X | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
| | | | | | X | | | | | | | | X | |
2000 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
2100 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
2200 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
2300 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | | | |
2400 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
________________________________________________________________________________________________________________________________
[contacts] List all contacts.
[timetable] Display combined timetable of selected contacts.
Expand Down Expand Up @@ -423,26 +390,10 @@ Date: 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th 16th
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | X | | | | | | | | X | |
1900 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | X | | | | | | | X | X | |
| | | | | | X | | | | | | | | X | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | X | | | | | | | X | X | |
| | | | | | X | | | | | | | | X | |
2000 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
2100 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
2200 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
2300 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | X | | |
+-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
| | | | | | | | | | | | | | | |
2400 +-----+-----+-----+-----+-----+-----+-----+ +-----+-----+-----+-----+-----+-----+-----+
________________________________________________________________________________________________________________________________
[contacts] List all contacts.
[timetable] Display combined timetable of selected contacts.
Expand All @@ -457,8 +408,8 @@ ________________________________________________________________________________
____________________________________________________________
Here are your stored contacts:
0) Tommy (main user)
1) Agnus
2) Patricia
1) Patricia
2) Agnus
____________________________________________________________

________________________________________________________________________________________________________________________________
Expand All @@ -472,8 +423,7 @@ ________________________________________________________________________________

Insert your member's timetable by following: <name of new member> <nusmods link>
________________________________________________________________________________________________________________________________
The current scheduled meeting(s):
1. Thursday(16th) 19:00 to Thursday(16th) 23:30 (test_meeting2)
There is no scheduled meetings so far.
________________________________________________________________________________________________________________________________
[contacts] List all contacts.
[timetable] Display combined timetable of selected contacts.
Expand All @@ -497,7 +447,7 @@ ________________________________________________________________________________

Insert your member's timetable by following: <name of new member> <nusmods link>
________________________________________________________________________________________________________________________________
You now have 2 meeting(s) in the list.
You now have 1 meeting(s) in the list.
________________________________________________________________________________________________________________________________
[contacts] List all contacts.
[timetable] Display combined timetable of selected contacts.
Expand All @@ -509,10 +459,7 @@ ________________________________________________________________________________

Insert your member's timetable by following: <name of new member> <nusmods link>
________________________________________________________________________________________________________________________________
Range entered is not within free slots. Check timetable.

To schedule a meeting:
schedule <Meeting Name> <Start Date> <Start Time> <End Date> <End Time>
You now have 2 meeting(s) in the list.
________________________________________________________________________________________________________________________________
[contacts] List all contacts.
[timetable] Display combined timetable of selected contacts.
Expand All @@ -525,7 +472,7 @@ ________________________________________________________________________________
Insert your member's timetable by following: <name of new member> <nusmods link>
________________________________________________________________________________________________________________________________
I have removed:
1. Thursday(16th) 19:00 to Thursday(16th) 23:30 (test_meeting2)
1. Wednesday(15th) 19:00 to Wednesday(15th) 22:00 (test_meeting)
________________________________________________________________________________________________________________________________
[contacts] List all contacts.
[timetable] Display combined timetable of selected contacts.
Expand All @@ -538,7 +485,7 @@ ________________________________________________________________________________
Insert your member's timetable by following: <name of new member> <nusmods link>
________________________________________________________________________________________________________________________________
The current scheduled meeting(s):
1. Wednesday(15th) 19:00 to Wednesday(15th) 22:00 (test_meeting)
1. Thursday(16th) 19:00 to Thursday(16th) 23:30 (test_meeting2)
________________________________________________________________________________________________________________________________
[contacts] List all contacts.
[timetable] Display combined timetable of selected contacts.
Expand Down
Loading

0 comments on commit 09c215f

Please sign in to comment.