[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/question/type/calculated/tests/ -> variablesubstituter_test.php (summary)

Unit tests for qtype_calculated_variable_substituter.

Copyright: 2011 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 138 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

qtype_calculated_variable_substituter_test:: (13 methods):
  test_simple_expression()
  test_simple_expression_negatives()
  test_cannot_use_nonnumbers()
  test_invalid_expression()
  test_tricky_invalid_expression()
  test_division_by_zero_expression()
  test_replace_expressions_in_text_simple_var()
  test_replace_expressions_in_confusing_text()
  test_replace_expressions_in_text_formula()
  test_replace_expressions_in_text_negative()
  test_replace_expressions_in_text_commas_for_decimals()
  test_format_float_dot()
  test_format_float_comma()


Class: qtype_calculated_variable_substituter_test  - X-Ref

Unit tests for {@link qtype_calculated_variable_substituter}.



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1