Trait kitten::GWT[][src]

pub trait GWT<TRESULT, SUT> {
    fn given(self, function: fn() -> SUT) -> Self;
fn and_given(self, function: fn() -> SUT) -> Self;
fn when(self, function: fn(_: &SUT) -> TRESULT) -> Self;
fn then(self, function: fn(_: &TRESULT) -> &TRESULT) -> Self;
fn and(self, function: fn(_: &TRESULT) -> &TRESULT) -> Self; }

Required methods

fn given(self, function: fn() -> SUT) -> Self[src]

fn and_given(self, function: fn() -> SUT) -> Self[src]

fn when(self, function: fn(_: &SUT) -> TRESULT) -> Self[src]

fn then(self, function: fn(_: &TRESULT) -> &TRESULT) -> Self[src]

fn and(self, function: fn(_: &TRESULT) -> &TRESULT) -> Self[src]

Loading content...

Implementors

impl<TRESULT, SUT> GWT<TRESULT, SUT> for Test<TRESULT, SUT>[src]

fn given(self, function: fn() -> SUT) -> Self[src]

fn and_given(self, function: fn() -> SUT) -> Self[src]

fn when(self, function: fn(_: &SUT) -> TRESULT) -> Self[src]

fn then(self, function: fn(_: &TRESULT) -> &TRESULT) -> Self[src]

fn and(self, function: fn(_: &TRESULT) -> &TRESULT) -> Self[src]

Loading content...