1 #include "rxcpp/rx.hpp" 2 3 #include "rxcpp/rx-test.hpp" 4 #include "catch.hpp" 5 6 SCENARIO("skip sample"){ 7 printf("//! [skip sample]\n"); 8 auto values = rxcpp::observable<>::range(1, 7).skip(3); 9 values. 10 subscribe( __anoncb2b31e60102(int v)11 [](int v){printf("OnNext: %d\n", v);}, __anoncb2b31e60202()12 [](){printf("OnCompleted\n");}); 13 printf("//! [skip sample]\n"); 14 } 15