summaryrefslogtreecommitdiff
path: root/Rx/v2/examples/doxygen/start_with.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Rx/v2/examples/doxygen/start_with.cpp')
-rw-r--r--Rx/v2/examples/doxygen/start_with.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/Rx/v2/examples/doxygen/start_with.cpp b/Rx/v2/examples/doxygen/start_with.cpp
deleted file mode 100644
index 6a40142..0000000
--- a/Rx/v2/examples/doxygen/start_with.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "rxcpp/rx.hpp"
-
-#include "rxcpp/rx-test.hpp"
-#include "catch.hpp"
-
-SCENARIO("full start_with sample"){
- printf("//! [full start_with sample]\n");
- auto observable = rxcpp::observable<>::range(10, 12);
- auto values = rxcpp::observable<>::start_with(observable, 1, 2, 3);
- values.
- subscribe(
- [](int v){printf("OnNext: %d\n", v);},
- [](){printf("OnCompleted\n");});
- printf("//! [full start_with sample]\n");
-}
-
-SCENARIO("short start_with sample"){
- printf("//! [short start_with sample]\n");
- auto values = rxcpp::observable<>::range(10, 12).
- start_with(1, 2, 3);
- values.
- subscribe(
- [](int v){printf("OnNext: %d\n", v);},
- [](){printf("OnCompleted\n");});
- printf("//! [short start_with sample]\n");
-}