-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I have the following code:
package mutation
type Calculator struct {
}
func (c *Calculator) Multiply(a int, b int) int {
return a * b
}
package mutation_test
import (
mutation "awesomeProject"
"github.com/stretchr/testify/assert"
"testing"
)
func TestMe(t *testing.T) {
c := mutation.Calculator{}
res := c.Multiply(1, 1)
assert.Equal(t, 1, res)
}
When I run go-mutation I get the results:
The mutation score is 0.000000 (0 passed, 0 failed, 0 duplicated, 0 skipped, total is 0)
While I expected to get a result that shows me that multiplication can be replaced for division for this specific test data.
I believe this is an issue?
Thanks,
Kobi.
Metadata
Metadata
Assignees
Labels
No labels