I am working on a project that lists and briefly desribes 40 fundamental topics every software tester at Microsoft should know. One of them is module testing.
var obj = new ActiveXObject("MyMathLib.MyMathFunctions");
var actualResult = obj.HarmonicMean(30,60);
var expectedResult = 40;
if (actualResult == expectedResult)
One of the ideas of buddy testing is to have some measure of confidence that new source code is relatively free of bugs before the code is checked into a source code repository.