We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2123217 commit 58f571fCopy full SHA for 58f571f
cpp11test/src/test-logicals.cpp
@@ -126,6 +126,14 @@ context("logicals-C++") {
126
127
UNPROTECT(1);
128
}
129
+ test_that("writable::logicals::proxy::operator=(bool)") {
130
+ cpp11::writable::logicals y(2);
131
+
132
+ y[0] = false;
133
+ y[1] = true;
134
+ expect_true(y[0] == TRUE);
135
+ expect_true(y[1] == FALSE);
136
+ }
137
test_that("is_na(Rboolean)") {
138
Rboolean x = TRUE;
139
expect_true(!cpp11::is_na(x));
0 commit comments