Silly test function.
This commit is contained in:
parent
ceaf6910c1
commit
e335e7a818
@ -1,8 +1,12 @@
|
||||
[package]
|
||||
description = "Ethcore library"
|
||||
homepage = "http://ethcore.io"
|
||||
license = "GPL-3.0"
|
||||
name = "ethcore"
|
||||
version = "0.1.0"
|
||||
authors = ["Ethcore <admin@ethcore.io>"]
|
||||
|
||||
[dependencies]
|
||||
log = "0.3"
|
||||
env_logger = "0.3"
|
||||
ethcore-util = "0.1.0"
|
||||
|
||||
|
15
src/lib.rs
15
src/lib.rs
@ -1,3 +1,14 @@
|
||||
#[test]
|
||||
fn it_works() {
|
||||
#[macro_use] extern crate log;
|
||||
|
||||
/// 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