Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback Lab 2 #3

Open
hdmeyer opened this issue Sep 25, 2017 · 3 comments
Open

Feedback Lab 2 #3

hdmeyer opened this issue Sep 25, 2017 · 3 comments

Comments

@hdmeyer
Copy link

hdmeyer commented Sep 25, 2017

Group # Exercise 1 Comments Exercise 2 Comments Exercise 3 Comments Exercise 4 Comments Exercise 5 Comments Exercise 6 Comments Exercise 7 Comments Exercise 8 Comments Total
9 9 Good solution and good analysis. No timing 10 Good solution. Good testset 4 you have not provided a descendent strength list. What means u1? 4 isPermutation is wrong 6 Where are the tests? 8 Nice general solution. The role of parameter n is unclear. Function if alphabet is hardcoded in rotateChar then n must be too. 10 Well done 8 Good solutions to easy problems. 8.085714286
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
@schneider-simon
Copy link
Contributor

Hello @hdmeyer

thank you for your valuable feedback. We can see the flaws in almost all of our exercises.

Nonetheless, there is one feedback we could not quite understand. Would you please explain to us why there are tests missing in Exercise5?
It includes a testReport in the comments and a long list of predicates and tests. (l 127-159)

We test if the derangement function produces lists that: have the same length as the output (predicate1), contain the same elements (predicate 2), are a permutation (predicate1+ predicate2) and that they do not share elements at the same position (predicate3).

We can not think of anything else we could test since these 3 predicates exactly mirror the specification.

@hdmeyer
Copy link
Author

hdmeyer commented Sep 26, 2017

Hello Simon,

@BertLisser could you please answer this question?

Cheers,

@BertLisser
Copy link

BertLisser commented Sep 26, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants