代码搜索:assertion
找到约 1,246 项符合「assertion」的源代码
代码结果 1,246
www.eeworm.com/read/285034/8874966
java assert.java
// Routines used for testing assertions.
// (c) 2001 duane a. bailey
package structure;
/**
* A library of assertion testing and debugging procedures.
*
* This class of static methods provide
www.eeworm.com/read/384084/8901552
cpp c35.cpp
// c35.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
#include "MyClass.h"
int main(int argc, char* argv[])
{
MyClass a(1), b(2);
www.eeworm.com/read/427909/8913695
m assert.m
function assert(pred, str)
% ASSERT Raise an error if the predicate is not true.
% assert(pred, string)
if nargin
www.eeworm.com/read/373250/9467719
m assert.m
function assert(pred, str)
% ASSERT Raise an error if the predicate is not true.
% assert(pred, string)
if nargin
www.eeworm.com/read/174989/9565745
mpf booth.mpf
; Copyright Mentor Graphics Corporation 2004
;
; All Rights Reserved.
;
; THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS THE PROPERTY OF
; MENTOR GRAPHICS CORPORATION OR IT
www.eeworm.com/read/174988/9565896
mpf fifo.mpf
; Copyright Mentor Graphics Corporation 2004
;
; All Rights Reserved.
;
; THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS THE PROPERTY OF
; MENTOR GRAPHICS CORPORATION OR IT
www.eeworm.com/read/362013/10023706
m assert.m
function assert( assertion, message, mode )
%ASSERT Prints message and takes action if assertion is false.
% ASSERT(ASSERTION, MESSAGE, MODE) If mode is 'error', assert
% issues an error message an
www.eeworm.com/read/357734/10202258
cpp c35.cpp
// c35.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
#include "MyClass.h"
int main(int argc, char* argv[])
{
MyClass a(1), b(2);
www.eeworm.com/read/425546/10348934
m assert.m
function assert(pred, str)
% ASSERT Raise an error if the predicate is not true.
% assert(pred, string)
if nargin
www.eeworm.com/read/349646/10808852
m assert.m
function assert(pred, str)
% ASSERT Raise an error if the predicate is not true.
% assert(pred, string)
if nargin