MCPcopy Create free account
hub / github.com/apple/coremltools / assertBooleanFieldFalse

Function assertBooleanFieldFalse

deps/protobuf/js/message_test.js:913–917  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

911 assertBooleanFieldTrue(message.getDefaultBooleanField());
912
913 var assertBooleanFieldFalse = function(x) {
914 assertTrue(
915 'Expected ' + x + ' (' + goog.typeOf(x) + ') to be False.',
916 x === false);
917 };
918 message = new proto.jspb.test.BooleanFields([0, 0, [0, 0]]);
919 assertBooleanFieldFalse(message.getOptionalBooleanField());
920 assertBooleanFieldFalse(message.getRequiredBooleanField());

Callers 1

message_test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected