Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/beanshell/beanshell
/ assertTrue
Method
assertTrue
engine/src/bsh/TestBshScriptEngine.java:99–105 ·
view source on GitHub ↗
( boolean cond )
Source
from the content-addressed store, hash-verified
97
}
98
99
static
void
assertTrue( boolean cond )
100
{
101
if
( cond )
102
System.out.println(
"Passed..."
);
103
else
104
throw
new
Error(
"assert failed..."
);
105
}
106
}
Callers
1
main
Method · 0.95
Calls
1
println
Method · 0.65
Tested by
no test coverage detected