コード例 #1
0
    def test_integer_false(self):
        a = Cell(content=17)
        b = Cell(content=15)
        c = Cell()

        less_than(a, b, c)

        scheduler.run()

        self.assertEqual(c.content, False)
コード例 #2
0
    def test_integer_false(self):
        a = Cell(content=17)
        b = Cell(content=15)
        c = Cell()

        less_than(a, b, c)

        scheduler.run()

        self.assertEqual(c.content, False)
コード例 #3
0
    def test_integer_true(self):
        a = Cell(content=13)
        b = Cell(content=15)
        c = Cell()

        less_than(a, b, c)

        scheduler.run()

        self.assertEqual(c.content, True)
コード例 #4
0
    def test_integer_true(self):
        a = Cell(content=13)
        b = Cell(content=15)
        c = Cell()

        less_than(a, b, c)

        scheduler.run()

        self.assertEqual(c.content, True)