diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/parser_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/parser_test.php b/tests/parser_test.php index a6c3442..fa5fa0f 100644 --- a/tests/parser_test.php +++ b/tests/parser_test.php @@ -42,8 +42,8 @@ class qtype_algebra_parser_test extends advanced_testcase { $p = new qtype_algebra_parser; $expr = $p->parse('sin(2x) + cos(3y)'); - $this->assertEquals(array('x', 'y'), $expr->get_variables()) - $this->assertEquals(array('cos', 'sin'), $expr->get_functions()) + $this->assertEquals(array('x', 'y'), $expr->get_variables()); + $this->assertEquals(array('cos', 'sin'), $expr->get_functions()); $this->assertEquals('\sin(2 x_{}) + \cos(3 y_{}', $exp->tex()); } } |