Silly test function.
This commit is contained in:
parent
ceaf6910c1
commit
e335e7a818
@ -1,8 +1,12 @@
|
|||||||
[package]
|
[package]
|
||||||
|
description = "Ethcore library"
|
||||||
|
homepage = "http://ethcore.io"
|
||||||
|
license = "GPL-3.0"
|
||||||
name = "ethcore"
|
name = "ethcore"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Ethcore <admin@ethcore.io>"]
|
authors = ["Ethcore <admin@ethcore.io>"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
log = "0.3"
|
||||||
|
env_logger = "0.3"
|
||||||
ethcore-util = "0.1.0"
|
ethcore-util = "0.1.0"
|
||||||
|
|
||||||
|
15
src/lib.rs
15
src/lib.rs
@ -1,3 +1,14 @@
|
|||||||
#[test]
|
#[macro_use] extern crate log;
|
||||||
fn it_works() {
|
|
||||||
|
/// Silly function to return 69.
|
||||||
|
///
|
||||||
|
/// # Example
|
||||||
|
///
|
||||||
|
/// ```
|
||||||
|
/// assert_eq!(ethcore::sixtynine(), 69);
|
||||||
|
/// ```
|
||||||
|
pub fn sixtynine() -> i32 {
|
||||||
|
debug!("Hello world!");
|
||||||
|
69
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user