Location: PHPKode > scripts > TinyTest > bebraw-tinytest-1c85312/demo/vector_test.php
<?php
require("vector.php");

class TestVector {
    function testCreate() {
        $vector = new Vector(0.0, 0.0, 0.0, 0.0);

        assert("$vector->x == 0");
        assert("$vector->y == 0");
        assert("$vector->z == 0");
        assert("$vector->w == 0");
    }
}

?>
Return current item: TinyTest