Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeog committed Sep 9, 2024
1 parent b0234ac commit 3e23b63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions practice/exercism/003-party-robot/party_robot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ func TestWelcome(t *testing.T) {
want: "Welcome to my party, Xuân Jing!",
},
}

for _, tt := range tests {
t.Run(tt.description, func(t *testing.T) {
if got := Welcome(tt.name); got != tt.want {
Expand Down Expand Up @@ -51,6 +52,7 @@ func TestHappyBirthday(t *testing.T) {
want: "Happy birthday Xuân Jing! You are now 17 years old!",
},
}

for _, tt := range tests {
t.Run(tt.description, func(t *testing.T) {
if got := HappyBirthday(tt.name, tt.age); got != tt.want {
Expand Down Expand Up @@ -98,6 +100,7 @@ func TestAssignTable(t *testing.T) {
want: "Welcome to my party, Paula!\nYou have been assigned to table 101. Your table is on the right, exactly 100.0 meters from here.\nYou will be sitting next to Chioma.",
},
}

for _, tt := range tests {
t.Run(tt.description, func(t *testing.T) {
if got := AssignTable(tt.name, tt.tableNumber, tt.seatmate, tt.direction, tt.distance); got != tt.want {
Expand Down

0 comments on commit 3e23b63

Please sign in to comment.