File tree Expand file tree Collapse file tree 7 files changed +10
-4
lines changed Expand file tree Collapse file tree 7 files changed +10
-4
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1+ pub mod add;
Original file line number Diff line number Diff line change 1- pub mod add ;
1+ pub mod hackerrank ;
File renamed without changes.
Original file line number Diff line number Diff line change 1- use exercises:: add:: add;
1+ use exercises:: hackerrank :: add:: add;
22use once_cell:: sync:: Lazy ;
33use serde:: Deserialize ;
44
5- mod common;
5+ use crate :: common;
66use common:: utils:: load_json;
77
8+
9+
810#[ derive( Debug , Deserialize ) ]
911struct AdderTestCase {
1012 title : String ,
@@ -14,7 +16,7 @@ struct AdderTestCase {
1416}
1517
1618static TEST_DATA : Lazy < Vec < AdderTestCase > > =
17- Lazy :: new ( || load_json ( "tests/add.json" ) ) ;
19+ Lazy :: new ( || load_json ( "tests/data/hackerrank/ add.json" ) ) ;
1820
1921#[ cfg( test) ]
2022mod tests {
Original file line number Diff line number Diff line change 1+ pub mod add;
Original file line number Diff line number Diff line change 1+ pub mod common;
2+ pub mod hackerrank;
You can’t perform that action at this time.
0 commit comments