pcreator/Faye — Issue #2: possibly bug precision on Number.class.php
Author: freelancecode
Created: 2011-12-02 14:44:44+00:00
State: open

Hai, me again :)

find bugs on testing number.class.php on utility folder. I used Twig folder and its files to test.

and here is the result:

Description expected result
====================================================================
Equal expectation fails at character 2 with [4.96 KB] and [4.84 KB]
Equal expectation fails at character 1 with [24.06 KB] and [23.5 KB]
Equal expectation fails at character 2 with [5.23 KB] and [5.11 KB]
Equal expectation fails at character 1 with [14.05 KB] and [13.72 KB]
Equal expectation fails at character 3 with [2.06 KB] and [2.01 KB]
Equal expectation fails at character 3 with [1.98 KB] and [1.94 KB]
Equal expectation fails at character 3 with [1.28 KB] and [1.25 KB]
Equal expectation fails at character 3 with [1.16 KB] and [1.13 KB]
Equal expectation fails at character 3 with [11.75 KB] and [11.48 KB]
Equal expectation fails at character 3 with [1.04 KB] and [1.02 KB]
Equal expectation fails at character 2 with [5.73 KB] and [5.59 KB]
Equal expectation fails at character 2 with [2.30 KB] and [2.25 KB]
Equal expectation fails at character 3 with [1.26 KB] and [1.23 KB]
Equal expectation fails at character 2 with [8.94 KB] and [8.73 KB]
Equal expectation fails at character 3 with [10.70 KB] and [10.45 KB]
Equal expectation fails at character 3 with [1.16 KB] and [1.14 KB]
Equal expectation fails at character 2 with [5.60 KB] and [5.47 KB]
Equal expectation fails at character 3 with [2.97 KB] and [2.9 KB]
Equal expectation fails at character 3 with [1.19 KB] and [1.16 KB]
Equal expectation fails at character 2 with [3.25 KB] and [3.18 KB]

from this data ( I've used this data and some failed ):

public $data = array(
'Autoloader.php' => '1031',
'Compiler.php' => '4956',
'CompilerInterface.php' => '741',
'Environment.php' => '24062',
'Error.php' => '5231',
'ExpressionParser.php' => '14054',
'Extension.php' => '2061',
'ExtensionInterface.php' => '1982',
'Filter.php' => '1280',
'FilterInterface.php' => '622',
'Function.php' => '1159',
'FunctionInterface.php' => '628',
'Lexer.php' => '11755',
'LexerInterface.php' => '654',
'LoaderInterface.php' => '1045',
'Markup.php' => '541',
'Node.php' => '5727',
'NodeInterface.php' => '566',
'NodeOutputInterface.php' => '375',
'NodeTraverser.php' => '2300',
'NodeVisitorInterface.php' => '1256',
'Parser.php' => '8943',
'ParserInterface.php' => '593',
'Template.php' => '10696',
'TemplateInterface.php' => '1164',
'TestInterface.php' => '474',
'Token.php' => '5599',
'TokenParser.php' => '640',
'TokenParserBroker.php' => '2973',
'TokenParserBrokerInterface.php' => '1190',
'TokenParserInterface.php' => '909',
'TokenStream.php' => '3253',
);