diff options
author | Elliott Hughes <enh@google.com> | 2022-09-01 14:59:27 +0000 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2022-09-01 15:00:13 +0000 |
commit | a6661d2cf339b71de3e25f80fb927e029468c603 (patch) | |
tree | c0b1aac3621dd301e9fb7add9170d8879cc97cbe /Rx/v2/examples/doxygen/map.cpp | |
parent | de986f59e99bd585280a061f545150ee1268f012 (diff) | |
download | RxCpp-master.tar.gz |
Do not necromance this without going through the go/android-3p process
again.
Test: treehugger
Change-Id: Id813d74d7d2597e0636b925430117c94bea3fa5a
Diffstat (limited to 'Rx/v2/examples/doxygen/map.cpp')
-rw-r--r-- | Rx/v2/examples/doxygen/map.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Rx/v2/examples/doxygen/map.cpp b/Rx/v2/examples/doxygen/map.cpp deleted file mode 100644 index 8db5030..0000000 --- a/Rx/v2/examples/doxygen/map.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "rxcpp/rx.hpp" - -#include "rxcpp/rx-test.hpp" -#include "catch.hpp" - -SCENARIO("map sample"){ - printf("//! [map sample]\n"); - auto values = rxcpp::observable<>::range(1, 3). - map([](int v){ - return 2 * v; - }); - values. - subscribe( - [](int v){printf("OnNext: %d\n", v);}, - [](){printf("OnCompleted\n");}); - printf("//! [map sample]\n"); -} |