EnTerr
EnTerr
rokudev/unit-testing-framework seems based on this one (brsTest) - that's my opinion after i noticed multiple similarities (verbatim comments, verbatim diagnostic texts - including unconventional wording) while exploring one of the...
@MarkRoddy - i don't know about "a significant chunk of code" but i have seen snippets which to me are "clear and convincing" evidence that Roku's U.T.F. has used brsTest...
Here is an example https://github.com/MarkRoddy/brstest/blob/7a6fdd6dcbf47dc20a632b66cddcd47f3548cfa2/source/brstest.brs#L279-L282]MarkRoddy/brstest//brstest.brs#L279-L282 vs https://github.com/rokudev/unit-testing-framework/blob/28d8154fa688cd5683035528ff014e005d2124eb/fw_baseTestSuite.brs#L116-L126]rokudev/unit-testing-framework//fw_baseTestSuite.brs#L116-L126 Notice the `m.fail()` invocation there is the only use of the fail() method - the `BTS__Fail()` (nee `brstTcFail()`) has become a no-op vestigial,...
https://github.com/MarkRoddy/brstest/blob/7a6fdd6dcbf47dc20a632b66cddcd47f3548cfa2/source/brstest.brs#L286-L289]MarkRoddy/brstest//brstest.brs#L286-L289 vs https://github.com/rokudev/unit-testing-framework/blob/28d8154fa688cd5683035528ff014e005d2124eb/fw_baseTestSuite.brs#L132-L142]rokudev/unit-testing-framework//fw_baseTestSuite.brs#L132-L142 The `msg = "Expression evaluates to false" ` in the latter is vestigial from the former. The meaning has shifted slightly, if written anew the correct wording...
https://github.com/MarkRoddy/brstest/blob/7a6fdd6dcbf47dc20a632b66cddcd47f3548cfa2/source/brstest.brs#L293-L298]MarkRoddy/brstest//brstest.brs#L293-L298 vs. https://github.com/rokudev/unit-testing-framework/blob/28d8154fa688cd5683035528ff014e005d2124eb/fw_baseTestSuite.brs#L148-L162]rokudev/unit-testing-framework//fw_baseTestSuite.brs#L148-L162 Note how the comment "Fail if the two objects are unequal as determined by the '' operator." uses "" to indicate not-equal operator but the message below...
https://github.com/MarkRoddy/brstest/blob/7a6fdd6dcbf47dc20a632b66cddcd47f3548cfa2/source/brstest.brs#L302-L307]MarkRoddy/brstest//brstest.brs#L302-L307 vs https://github.com/rokudev/unit-testing-framework/blob/28d8154fa688cd5683035528ff014e005d2124eb/fw_baseTestSuite.brs#L170-L184]rokudev/unit-testing-framework//fw_baseTestSuite.brs#L170-L184 Ditto but this time the unusual wording is about "=" and "==". What are the odds of this happening by coincidence?
https://github.com/MarkRoddy/brstest/blob/7a6fdd6dcbf47dc20a632b66cddcd47f3548cfa2/source/brstest.brs#L311-L315]MarkRoddy/brstest//brstest.brs#L311-L315 vs https://github.com/rokudev/unit-testing-framework/blob/28d8154fa688cd5683035528ff014e005d2124eb/fw_baseTestSuite.brs#L192-L204]rokudev/unit-testing-framework//fw_baseTestSuite.brs#L192-L204 https://github.com/MarkRoddy/brstest/blob/7a6fdd6dcbf47dc20a632b66cddcd47f3548cfa2/source/brstest.brs#L319-L323]MarkRoddy/brstest//brstest.brs#L319-L323 vs https://github.com/rokudev/unit-testing-framework/blob/28d8154fa688cd5683035528ff014e005d2124eb/fw_baseTestSuite.brs#L212-L224]rokudev/unit-testing-framework//fw_baseTestSuite.brs#L212-L224
Right you are, unpack misbehaves! That's probably different though (if numbers are 8-byte double in Lua, they have only 7 bytes for precision?), should split as new issue ``` >>>...
Let's do a quick check which numbers are "endangered". In the Lua i am using just now: ``` lua >>> for i = 0, 63 do x= 2^i; if struct.unpack('l',...
Oh, so the situation is better than i thought? So `frames` in the source actually means "fragments" of one-and-the-very-same frame, not different/separate "frames" as i assumed. Baring "negotiated extensions", the...