Silly test function.

This commit is contained in:
Gav Wood 2015-11-24 22:21:15 +01:00
parent ceaf6910c1
commit e335e7a818
2 changed files with 18 additions and 3 deletions

View File

@ -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"

View File

@ -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
}