The Order of Addresses of GetNodes()

The Order of Addresses of GetNodes()

by Jinyi Xian -
Number of replies: 2

The test expects a certain order of the output. Is it OK for GetNodes() to return a slice with the same addresses but in a different order?

In reply to Jinyi Xian

Re: The Order of Addresses of GetNodes()

by Kirill Nikitin -

Hi,

Yes, it is ok, our tests will check only for inclusion, not a particular order.

See this thread https://moodlearchive.epfl.ch/2020-2021/mod/forum/discuss.php?d=41968 for an earlier discussion.

Kirill