Skip to main content

assert_provider

Function assert_provider 

Source
pub fn assert_provider(provider: &dyn RTCCryptoProvider)
Expand description

Exercises the complete initial RTC crypto contract implemented by the built-in providers.

This helper panics on a contract violation so provider authors can call it directly from a normal #[test] function.