Top

phi.tests.test_state module

from phi.api import *


class TestState(object):

    def test_seq(self):

        f = Seq(lambda x: x + 1)

        assert f(1) == 2

Classes

class TestState

class TestState(object):

    def test_seq(self):

        f = Seq(lambda x: x + 1)

        assert f(1) == 2

Ancestors (in MRO)

Methods

def test_seq(

self)

def test_seq(self):
    f = Seq(lambda x: x + 1)
    assert f(1) == 2