If I build and run the example tests found under:
RxCpp/Rx/v2/examples/tests
I get:
$ build git:(9075876) ✗ ./build/examples/tests/tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests is a Catch v2.7.0 host application.
Run with -? for options
-------------------------------------------------------------------------------
Scenario: take 2 - fails
Given: a source
When: 2 values are taken
Then: the output only contains items sent while subscribed
-------------------------------------------------------------------------------
/home/ubuntu/dev/RxCpp/Rx/v2/examples/tests/take.cpp:85
...............................................................................
/home/ubuntu/dev/RxCpp/Rx/v2/examples/tests/take.cpp:92: FAILED:
REQUIRE( required == actual )
with expansion:
[@210-on_next( 2), @220-on_next( 3), @220-on_completed()]
==
[@230-on_next( 4), @240-on_next( 5), @250-on_completed()]
-------------------------------------------------------------------------------
Scenario: take 2 - fails
Given: a source
When: 2 values are taken
Then: there was 1 subscription/unsubscription to the source
-------------------------------------------------------------------------------
/home/ubuntu/dev/RxCpp/Rx/v2/examples/tests/take.cpp:95
...............................................................................
/home/ubuntu/dev/RxCpp/Rx/v2/examples/tests/take.cpp:100: FAILED:
REQUIRE( required == actual )
with expansion:
{ 200-220 } == { 200-250 }
===============================================================================
test cases: 2 | 1 passed | 1 failed
assertions: 4 | 2 passed | 2 failed
Is it something wrong with the test or with RxCpp (I expect it is the test)?
My build is v4.1.1 (9075876) on Ubuntu.
If I build and run the example tests found under: RxCpp/Rx/v2/examples/tests
I get:
Is it something wrong with the test or with RxCpp (I expect it is the test)?