vanh17 / ProgLangAssignments

Assignments for Programming Languages course
0 stars 0 forks source link

Issue Tests for results #6

Closed vanh17 closed 8 years ago

vanh17 commented 8 years ago

SndWin Rock vs Paper let t1a = result (Rock, Paper) = SndWin FstWin Paper vs Rock let t1b = result (Paper, Rock) = FstWin SndWin Rock vs Scissors let t1c = result (Rock, Scissors) = SndWin SndWin Scissors, Paper let t1d = result (Scissors, Paper) = SndWin SndWin Scissors vs Rock let t1e = result (Scissors, Rock) = SndWin SndWin Paper vs Scissors let t1f = result (Paper ,Scissors) = SndWin Tie Rock let t1g = result (Rock, Rock) = Tie Tie Paper let t1h = result (Paper, Paper) = Tie Tie Scissors let t1i = result (Scissors, Scissors) = Tie

vanh17 commented 8 years ago

c, d not pass because the entry test were false: Right ones SndWin Rock vs Scissors let t1c = result (Rock, Scissors) = (SndWin) FstWin SndWin Scissors, Paper let t1d = result (Scissors, Paper) = (SndWin) FstWin

vanh17 commented 8 years ago

All tests passed!