chore: remove quiz4
This commit is contained in:
parent
d3a335bc64
commit
7fc393bed4
|
@ -1,23 +0,0 @@
|
||||||
// quiz4.rs
|
|
||||||
// This quiz covers the sections:
|
|
||||||
// - Modules
|
|
||||||
// - Macros
|
|
||||||
|
|
||||||
// Write a macro that passes the quiz! No hints this time, you can do it!
|
|
||||||
|
|
||||||
// I AM NOT DONE
|
|
||||||
|
|
||||||
#[cfg(test)]
|
|
||||||
mod tests {
|
|
||||||
use super::*;
|
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn test_my_macro_world() {
|
|
||||||
assert_eq!(my_macro!("world!"), "Hello world!");
|
|
||||||
}
|
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn test_my_macro_goodbye() {
|
|
||||||
assert_eq!(my_macro!("goodbye!"), "Hello goodbye!");
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -965,14 +965,6 @@ scratching the surface of what you can do with Rust's macros. For a more
|
||||||
thorough introduction, you can have a read through the little book of Rust
|
thorough introduction, you can have a read through the little book of Rust
|
||||||
macros: https://veykril.github.io/tlborm/"""
|
macros: https://veykril.github.io/tlborm/"""
|
||||||
|
|
||||||
# TEST 4
|
|
||||||
|
|
||||||
[[exercises]]
|
|
||||||
name = "quiz4"
|
|
||||||
path = "exercises/quiz4.rs"
|
|
||||||
mode = "test"
|
|
||||||
hint = "No hints this time ;)"
|
|
||||||
|
|
||||||
# CLIPPY
|
# CLIPPY
|
||||||
|
|
||||||
[[exercises]]
|
[[exercises]]
|
||||||
|
|
Loading…
Reference in New Issue