improve template
This commit is contained in:
1 parent
40248e82e9
commit
171282194a
1 file changed
+12
-4
+12
-4
@@ -1,21 +1,21 @@
|
||||
use crate::prelude::*;
|
||||
|
||||
pub type I = String;
|
||||
pub type I = Vec<String>;
|
||||
pub type O = i64;
|
||||
|
||||
fn _parse (data: &str) -> I {
|
||||
Default::default()
|
||||
}
|
||||
|
||||
fn _solve (data: I) -> O {
|
||||
fn _solve (data: &I) -> O {
|
||||
Default::default()
|
||||
}
|
||||
|
||||
fn _silver (data: I) -> O {
|
||||
fn _silver (data: &I) -> O {
|
||||
Default::default()
|
||||
}
|
||||
|
||||
fn _gold (data: I) -> O {
|
||||
fn _gold (data: &I) -> O {
|
||||
Default::default()
|
||||
}
|
||||
|
||||
@@ -28,6 +28,14 @@ mod test {
|
||||
_parse(data)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn sample () {
|
||||
let data = "";
|
||||
let data = parse(data);
|
||||
|
||||
assert_eq(1, 1)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn silver () {
|
||||
let data = read();
|
||||
|
||||
Reference in new issue
Block a user