MCPcopy Index your code
hub / github.com/ciphermodelabs/ciphercore / test_zeros

Function test_zeros

ciphercore-base/src/optimizer/constant_optimizer.rs:181–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179
180 #[test]
181 fn test_zeros() {
182 || -> Result<()> {
183 let c = simple_context(|g| g.zeros(array_type(vec![1000, 1000], UINT64)))?;
184 assert!(contexts_deep_equal(optimize_context(&c)?, c));
185 Ok(())
186 }()
187 .unwrap();
188 }
189
190 #[test]
191 fn test_ones() {

Callers

nothing calls this directly

Calls 3

simple_contextFunction · 0.85
zerosMethod · 0.80
array_typeFunction · 0.50

Tested by

no test coverage detected