MCPcopy Create free account
hub / github.com/LissaGreense/GO4SQL / shouldNotBeEqual

Function shouldNotBeEqual

engine/generic_value_test.go:147–153  ·  view source on GitHub ↗
(t *testing.T, valueOne ValueInterface, valueTwo ValueInterface)

Source from the content-addressed store, hash-verified

145 }
146}
147func shouldNotBeEqual(t *testing.T, valueOne ValueInterface, valueTwo ValueInterface) {
148 const ErrorMsgShouldNotBeEqual = "%s(type: %v) is equal %s(type: %v), but is shouldn't be"
149
150 if valueOne.IsEqual(valueTwo) {
151 t.Errorf(ErrorMsgShouldNotBeEqual, valueOne.ToString(), valueOne.GetType(), valueTwo.ToString(), valueTwo.GetType())
152 }
153}

Callers 1

TestEqualsFunction · 0.85

Calls 3

IsEqualMethod · 0.65
ToStringMethod · 0.65
GetTypeMethod · 0.65

Tested by

no test coverage detected