Blame view

vendor/codeception/base/tests/data/SimpleCest.php 343 Bytes
2e86c939   xu   “首次提交”
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

class SimpleCest
{

    public $class = 'DummyClass';

    public function helloWorld(\CodeGuy $I) {
        $I->execute(function() { return 2+2; })
            ->seeResultEquals('4');
    }

    public function goodByeWorld(\CodeGuy $I) {
        $I->execute(function() { return 2+2; })
            ->seeResultNotEquals('3');
    }

}