MCPcopy Create free account
hub / github.com/ExtropyIO/SolanaBootcamp / test

Function test

homeworks_rust/src/verify.rs:36–39  ·  view source on GitHub ↗

Compile and run the resulting test harness of the given Exercise

(exercise: &Exercise, verbose: bool)

Source from the content-addressed store, hash-verified

34
35// Compile and run the resulting test harness of the given Exercise
36pub fn test(exercise: &Exercise, verbose: bool) -> Result<(), ()> {
37 compile_and_test(exercise, RunMode::NonInteractive, verbose)?;
38 Ok(())
39}
40
41// Invoke the rust compiler without running the resulting binary
42fn compile_only(exercise: &Exercise) -> Result<bool, ()> {

Callers 1

runFunction · 0.85

Calls 1

compile_and_testFunction · 0.85

Tested by

no test coverage detected