Hey folks,

I am working on a project and I am testing its functions using mocha. Can you help me understand how do I test the second function, the one that does not return anything?

Here are the functions I am in need to test so far:

```
// I have already written the code for this one, see below
function compareGuesses(humanGuess, computerGuess, target) {
let humanDifference = Math.abs(target - humanGuess);
let computerDifference = Math.abs(target - computerGuess);
return (humanDifference <= computerDifference) ? true : false;
}
// I need to test if the two variables, humanScore and computerScore change
function updateScore(winner) {
(winner === 'human') ? humanScore++ : computerScore++;
}
```

And this is the testing for the first function. Not sure how to write the test for the second one.

```
const {compareGuesses, updateScore} = require('../script');
const assert = require('assert');
describe('compareGuesses()', () => {
it('returns true or false', () => {
let target = 10;
let humanGuess = 5;
let computerGuess = 3;
let result = compareGuesses(humanGuess, computerGuess, target);
assert.ok(result, 'true');
})
});
```

Thanks in advance =)