By the way, as @simeonschaub said, your code will pass the tests doing:
import Base: ==
function ==(val1::Module.Struct, val2::Module.Struct)
return val1.id == val2.id && val1.x == val2.x
end
By the way, as @simeonschaub said, your code will pass the tests doing:
import Base: ==
function ==(val1::Module.Struct, val2::Module.Struct)
return val1.id == val2.id && val1.x == val2.x
end