| 1 | // Code generated by gen_tests.py and process_polyglot.py. |
| 2 | // Do not edit this file directly. |
| 3 | // The template for this file is located at: |
| 4 | // ../template.go.tpl |
| 5 | package reql_tests |
| 6 | |
| 7 | import ( |
| 8 | "testing" |
| 9 | "time" |
| 10 | |
| 11 | "github.com/stretchr/testify/suite" |
| 12 | r "gopkg.in/rethinkdb/rethinkdb-go.v6" |
| 13 | "gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare" |
| 14 | ) |
| 15 | |
| 16 | // Tests of comparison operators |
| 17 | func TestMathLogicComparisonSuite(t *testing.T) { |
| 18 | suite.Run(t, new(MathLogicComparisonSuite)) |
| 19 | } |
| 20 | |
| 21 | type MathLogicComparisonSuite struct { |
| 22 | suite.Suite |
| 23 | |
| 24 | session *r.Session |
| 25 | } |
| 26 | |
| 27 | func (suite *MathLogicComparisonSuite) SetupTest() { |
| 28 | suite.T().Log("Setting up MathLogicComparisonSuite") |
| 29 | // Use imports to prevent errors |
| 30 | _ = time.Time{} |
| 31 | _ = compare.AnythingIsFine |
| 32 | |
| 33 | session, err := r.Connect(r.ConnectOpts{ |
| 34 | Address: url, |
| 35 | }) |
| 36 | suite.Require().NoError(err, "Error returned when connecting to server") |
| 37 | suite.session = session |
| 38 | |
| 39 | r.DBDrop("db_logic_comp").Exec(suite.session) |
| 40 | err = r.DBCreate("db_logic_comp").Exec(suite.session) |
| 41 | suite.Require().NoError(err) |
| 42 | err = r.DB("db_logic_comp").Wait().Exec(suite.session) |
| 43 | suite.Require().NoError(err) |
| 44 | |
| 45 | } |
| 46 | |
| 47 | func (suite *MathLogicComparisonSuite) TearDownSuite() { |
| 48 | suite.T().Log("Tearing down MathLogicComparisonSuite") |
| 49 | |
| 50 | if suite.session != nil { |
| 51 | r.DB("rethinkdb").Table("_debug_scratch").Delete().Exec(suite.session) |
| 52 | r.DBDrop("db_logic_comp").Exec(suite.session) |
| 53 | |
| 54 | suite.session.Close() |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | func (suite *MathLogicComparisonSuite) TestCases() { |
| 59 | suite.T().Log("Running MathLogicComparisonSuite: Tests of comparison operators") |
| 60 | |
| 61 | { |
| 62 | // math_logic/comparison.yaml line #10 |
| 63 | /* true */ |
| 64 | var expected_ bool = true |
| 65 | /* r.expr(1) < 2 */ |
| 66 | |
| 67 | suite.T().Log("About to run line #10: r.Expr(1).Lt(2)") |
| 68 | |
| 69 | runAndAssert(suite.Suite, expected_, r.Expr(1).Lt(2), suite.session, r.RunOpts{ |
| 70 | GeometryFormat: "raw", |
| 71 | GroupFormat: "map", |
| 72 | }) |
| 73 | suite.T().Log("Finished running line #10") |
| 74 | } |
| 75 | |
| 76 | { |
| 77 | // math_logic/comparison.yaml line #11 |
| 78 | /* true */ |
| 79 | var expected_ bool = true |
| 80 | /* 1 < r.expr(2) */ |
| 81 | |
| 82 | suite.T().Log("About to run line #11: r.Lt(1, r.Expr(2))") |
| 83 | |
| 84 | runAndAssert(suite.Suite, expected_, r.Lt(1, r.Expr(2)), suite.session, r.RunOpts{ |
| 85 | GeometryFormat: "raw", |
| 86 | GroupFormat: "map", |
| 87 | }) |
| 88 | suite.T().Log("Finished running line #11") |
| 89 | } |
| 90 | |
| 91 | { |
| 92 | // math_logic/comparison.yaml line #12 |
| 93 | /* true */ |
| 94 | var expected_ bool = true |
| 95 | /* r.expr(1).lt(2) */ |
| 96 | |
| 97 | suite.T().Log("About to run line #12: r.Expr(1).Lt(2)") |
| 98 | |
| 99 | runAndAssert(suite.Suite, expected_, r.Expr(1).Lt(2), suite.session, r.RunOpts{ |
| 100 | GeometryFormat: "raw", |
| 101 | GroupFormat: "map", |
| 102 | }) |
| 103 | suite.T().Log("Finished running line #12") |
| 104 | } |
| 105 | |
| 106 | { |
| 107 | // math_logic/comparison.yaml line #19 |
| 108 | /* false */ |
| 109 | var expected_ bool = false |
| 110 | /* r.expr(3) < 2 */ |
| 111 | |
| 112 | suite.T().Log("About to run line #19: r.Expr(3).Lt(2)") |
| 113 | |
| 114 | runAndAssert(suite.Suite, expected_, r.Expr(3).Lt(2), suite.session, r.RunOpts{ |
| 115 | GeometryFormat: "raw", |
| 116 | GroupFormat: "map", |
| 117 | }) |
| 118 | suite.T().Log("Finished running line #19") |
| 119 | } |
| 120 | |
| 121 | { |
| 122 | // math_logic/comparison.yaml line #22 |
| 123 | /* false */ |
| 124 | var expected_ bool = false |
| 125 | /* r.expr(2) < 2 */ |
| 126 | |
| 127 | suite.T().Log("About to run line #22: r.Expr(2).Lt(2)") |
| 128 | |
| 129 | runAndAssert(suite.Suite, expected_, r.Expr(2).Lt(2), suite.session, r.RunOpts{ |
| 130 | GeometryFormat: "raw", |
| 131 | GroupFormat: "map", |
| 132 | }) |
| 133 | suite.T().Log("Finished running line #22") |
| 134 | } |
| 135 | |
| 136 | { |
| 137 | // math_logic/comparison.yaml line #38 |
| 138 | /* false */ |
| 139 | var expected_ bool = false |
| 140 | /* r.expr(1) > 2 */ |
| 141 | |
| 142 | suite.T().Log("About to run line #38: r.Expr(1).Gt(2)") |
| 143 | |
| 144 | runAndAssert(suite.Suite, expected_, r.Expr(1).Gt(2), suite.session, r.RunOpts{ |
| 145 | GeometryFormat: "raw", |
| 146 | GroupFormat: "map", |
| 147 | }) |
| 148 | suite.T().Log("Finished running line #38") |
| 149 | } |
| 150 | |
| 151 | { |
| 152 | // math_logic/comparison.yaml line #39 |
| 153 | /* false */ |
| 154 | var expected_ bool = false |
| 155 | /* 1 > r.expr(2) */ |
| 156 | |
| 157 | suite.T().Log("About to run line #39: r.Gt(1, r.Expr(2))") |
| 158 | |
| 159 | runAndAssert(suite.Suite, expected_, r.Gt(1, r.Expr(2)), suite.session, r.RunOpts{ |
| 160 | GeometryFormat: "raw", |
| 161 | GroupFormat: "map", |
| 162 | }) |
| 163 | suite.T().Log("Finished running line #39") |
| 164 | } |
| 165 | |
| 166 | { |
| 167 | // math_logic/comparison.yaml line #40 |
| 168 | /* false */ |
| 169 | var expected_ bool = false |
| 170 | /* r.expr(1).gt(2) */ |
| 171 | |
| 172 | suite.T().Log("About to run line #40: r.Expr(1).Gt(2)") |
| 173 | |
| 174 | runAndAssert(suite.Suite, expected_, r.Expr(1).Gt(2), suite.session, r.RunOpts{ |
| 175 | GeometryFormat: "raw", |
| 176 | GroupFormat: "map", |
| 177 | }) |
| 178 | suite.T().Log("Finished running line #40") |
| 179 | } |
| 180 | |
| 181 | { |
| 182 | // math_logic/comparison.yaml line #45 |
| 183 | /* true */ |
| 184 | var expected_ bool = true |
| 185 | /* r.expr(3) > 2 */ |
| 186 | |
| 187 | suite.T().Log("About to run line #45: r.Expr(3).Gt(2)") |
| 188 | |
| 189 | runAndAssert(suite.Suite, expected_, r.Expr(3).Gt(2), suite.session, r.RunOpts{ |
| 190 | GeometryFormat: "raw", |
| 191 | GroupFormat: "map", |
| 192 | }) |
| 193 | suite.T().Log("Finished running line #45") |
| 194 | } |
| 195 | |
| 196 | { |
| 197 | // math_logic/comparison.yaml line #49 |
| 198 | /* false */ |
| 199 | var expected_ bool = false |
| 200 | /* r.expr(2) > 2 */ |
| 201 | |
| 202 | suite.T().Log("About to run line #49: r.Expr(2).Gt(2)") |
| 203 | |
| 204 | runAndAssert(suite.Suite, expected_, r.Expr(2).Gt(2), suite.session, r.RunOpts{ |
| 205 | GeometryFormat: "raw", |
| 206 | GroupFormat: "map", |
| 207 | }) |
| 208 | suite.T().Log("Finished running line #49") |
| 209 | } |
| 210 | |
| 211 | { |
| 212 | // math_logic/comparison.yaml line #63 |
| 213 | /* false */ |
| 214 | var expected_ bool = false |
| 215 | /* r.expr(1) == 2 */ |
| 216 | |
| 217 | suite.T().Log("About to run line #63: r.Expr(1).Eq(2)") |
| 218 | |
| 219 | runAndAssert(suite.Suite, expected_, r.Expr(1).Eq(2), suite.session, r.RunOpts{ |
| 220 | GeometryFormat: "raw", |
| 221 | GroupFormat: "map", |
| 222 | }) |
| 223 | suite.T().Log("Finished running line #63") |
| 224 | } |
| 225 | |
| 226 | { |
| 227 | // math_logic/comparison.yaml line #64 |
| 228 | /* false */ |
| 229 | var expected_ bool = false |
| 230 | /* 1 == r.expr(2) */ |
| 231 | |
| 232 | suite.T().Log("About to run line #64: r.Eq(1, r.Expr(2))") |
| 233 | |
| 234 | runAndAssert(suite.Suite, expected_, r.Eq(1, r.Expr(2)), suite.session, r.RunOpts{ |
| 235 | GeometryFormat: "raw", |
| 236 | GroupFormat: "map", |
| 237 | }) |
| 238 | suite.T().Log("Finished running line #64") |
| 239 | } |
| 240 | |
| 241 | { |
| 242 | // math_logic/comparison.yaml line #65 |
| 243 | /* false */ |
| 244 | var expected_ bool = false |
| 245 | /* r.expr(1).eq(2) */ |
| 246 | |
| 247 | suite.T().Log("About to run line #65: r.Expr(1).Eq(2)") |
| 248 | |
| 249 | runAndAssert(suite.Suite, expected_, r.Expr(1).Eq(2), suite.session, r.RunOpts{ |
| 250 | GeometryFormat: "raw", |
| 251 | GroupFormat: "map", |
| 252 | }) |
| 253 | suite.T().Log("Finished running line #65") |
| 254 | } |
| 255 | |
| 256 | { |
| 257 | // math_logic/comparison.yaml line #68 |
| 258 | /* false */ |
| 259 | var expected_ bool = false |
| 260 | /* r.expr(3) == 2 */ |
| 261 | |
| 262 | suite.T().Log("About to run line #68: r.Expr(3).Eq(2)") |
| 263 | |
| 264 | runAndAssert(suite.Suite, expected_, r.Expr(3).Eq(2), suite.session, r.RunOpts{ |
| 265 | GeometryFormat: "raw", |
| 266 | GroupFormat: "map", |
| 267 | }) |
| 268 | suite.T().Log("Finished running line #68") |
| 269 | } |
| 270 | |
| 271 | { |
| 272 | // math_logic/comparison.yaml line #72 |
| 273 | /* true */ |
| 274 | var expected_ bool = true |
| 275 | /* r.expr(2) == 2 */ |
| 276 | |
| 277 | suite.T().Log("About to run line #72: r.Expr(2).Eq(2)") |
| 278 | |
| 279 | runAndAssert(suite.Suite, expected_, r.Expr(2).Eq(2), suite.session, r.RunOpts{ |
| 280 | GeometryFormat: "raw", |
| 281 | GroupFormat: "map", |
| 282 | }) |
| 283 | suite.T().Log("Finished running line #72") |
| 284 | } |
| 285 | |
| 286 | { |
| 287 | // math_logic/comparison.yaml line #86 |
| 288 | /* true */ |
| 289 | var expected_ bool = true |
| 290 | /* r.expr(1) != 2 */ |
| 291 | |
| 292 | suite.T().Log("About to run line #86: r.Expr(1).Ne(2)") |
| 293 | |
| 294 | runAndAssert(suite.Suite, expected_, r.Expr(1).Ne(2), suite.session, r.RunOpts{ |
| 295 | GeometryFormat: "raw", |
| 296 | GroupFormat: "map", |
| 297 | }) |
| 298 | suite.T().Log("Finished running line #86") |
| 299 | } |
| 300 | |
| 301 | { |
| 302 | // math_logic/comparison.yaml line #87 |
| 303 | /* true */ |
| 304 | var expected_ bool = true |
| 305 | /* 1 != r.expr(2) */ |
| 306 | |
| 307 | suite.T().Log("About to run line #87: r.Ne(1, r.Expr(2))") |
| 308 | |
| 309 | runAndAssert(suite.Suite, expected_, r.Ne(1, r.Expr(2)), suite.session, r.RunOpts{ |
| 310 | GeometryFormat: "raw", |
| 311 | GroupFormat: "map", |
| 312 | }) |
| 313 | suite.T().Log("Finished running line #87") |
| 314 | } |
| 315 | |
| 316 | { |
| 317 | // math_logic/comparison.yaml line #88 |
| 318 | /* true */ |
| 319 | var expected_ bool = true |
| 320 | /* r.expr(1).ne(2) */ |
| 321 | |
| 322 | suite.T().Log("About to run line #88: r.Expr(1).Ne(2)") |
| 323 | |
| 324 | runAndAssert(suite.Suite, expected_, r.Expr(1).Ne(2), suite.session, r.RunOpts{ |
| 325 | GeometryFormat: "raw", |
| 326 | GroupFormat: "map", |
| 327 | }) |
| 328 | suite.T().Log("Finished running line #88") |
| 329 | } |
| 330 | |
| 331 | { |
| 332 | // math_logic/comparison.yaml line #91 |
| 333 | /* true */ |
| 334 | var expected_ bool = true |
| 335 | /* r.expr(3) != 2 */ |
| 336 | |
| 337 | suite.T().Log("About to run line #91: r.Expr(3).Ne(2)") |
| 338 | |
| 339 | runAndAssert(suite.Suite, expected_, r.Expr(3).Ne(2), suite.session, r.RunOpts{ |
| 340 | GeometryFormat: "raw", |
| 341 | GroupFormat: "map", |
| 342 | }) |
| 343 | suite.T().Log("Finished running line #91") |
| 344 | } |
| 345 | |
| 346 | { |
| 347 | // math_logic/comparison.yaml line #95 |
| 348 | /* false */ |
| 349 | var expected_ bool = false |
| 350 | /* r.expr(2) != 2 */ |
| 351 | |
| 352 | suite.T().Log("About to run line #95: r.Expr(2).Ne(2)") |
| 353 | |
| 354 | runAndAssert(suite.Suite, expected_, r.Expr(2).Ne(2), suite.session, r.RunOpts{ |
| 355 | GeometryFormat: "raw", |
| 356 | GroupFormat: "map", |
| 357 | }) |
| 358 | suite.T().Log("Finished running line #95") |
| 359 | } |
| 360 | |
| 361 | { |
| 362 | // math_logic/comparison.yaml line #109 |
| 363 | /* true */ |
| 364 | var expected_ bool = true |
| 365 | /* r.expr(1) <= 2 */ |
| 366 | |
| 367 | suite.T().Log("About to run line #109: r.Expr(1).Le(2)") |
| 368 | |
| 369 | runAndAssert(suite.Suite, expected_, r.Expr(1).Le(2), suite.session, r.RunOpts{ |
| 370 | GeometryFormat: "raw", |
| 371 | GroupFormat: "map", |
| 372 | }) |
| 373 | suite.T().Log("Finished running line #109") |
| 374 | } |
| 375 | |
| 376 | { |
| 377 | // math_logic/comparison.yaml line #110 |
| 378 | /* true */ |
| 379 | var expected_ bool = true |
| 380 | /* 1 <= r.expr(2) */ |
| 381 | |
| 382 | suite.T().Log("About to run line #110: r.Le(1, r.Expr(2))") |
| 383 | |
| 384 | runAndAssert(suite.Suite, expected_, r.Le(1, r.Expr(2)), suite.session, r.RunOpts{ |
| 385 | GeometryFormat: "raw", |
| 386 | GroupFormat: "map", |
| 387 | }) |
| 388 | suite.T().Log("Finished running line #110") |
| 389 | } |
| 390 | |
| 391 | { |
| 392 | // math_logic/comparison.yaml line #111 |
| 393 | /* true */ |
| 394 | var expected_ bool = true |
| 395 | /* r.expr(1).le(2) */ |
| 396 | |
| 397 | suite.T().Log("About to run line #111: r.Expr(1).Le(2)") |
| 398 | |
| 399 | runAndAssert(suite.Suite, expected_, r.Expr(1).Le(2), suite.session, r.RunOpts{ |
| 400 | GeometryFormat: "raw", |
| 401 | GroupFormat: "map", |
| 402 | }) |
| 403 | suite.T().Log("Finished running line #111") |
| 404 | } |
| 405 | |
| 406 | { |
| 407 | // math_logic/comparison.yaml line #116 |
| 408 | /* false */ |
| 409 | var expected_ bool = false |
| 410 | /* r.expr(3) <= 2 */ |
| 411 | |
| 412 | suite.T().Log("About to run line #116: r.Expr(3).Le(2)") |
| 413 | |
| 414 | runAndAssert(suite.Suite, expected_, r.Expr(3).Le(2), suite.session, r.RunOpts{ |
| 415 | GeometryFormat: "raw", |
| 416 | GroupFormat: "map", |
| 417 | }) |
| 418 | suite.T().Log("Finished running line #116") |
| 419 | } |
| 420 | |
| 421 | { |
| 422 | // math_logic/comparison.yaml line #120 |
| 423 | /* true */ |
| 424 | var expected_ bool = true |
| 425 | /* r.expr(2) <= 2 */ |
| 426 | |
| 427 | suite.T().Log("About to run line #120: r.Expr(2).Le(2)") |
| 428 | |
| 429 | runAndAssert(suite.Suite, expected_, r.Expr(2).Le(2), suite.session, r.RunOpts{ |
| 430 | GeometryFormat: "raw", |
| 431 | GroupFormat: "map", |
| 432 | }) |
| 433 | suite.T().Log("Finished running line #120") |
| 434 | } |
| 435 | |
| 436 | { |
| 437 | // math_logic/comparison.yaml line #134 |
| 438 | /* false */ |
| 439 | var expected_ bool = false |
| 440 | /* r.expr(1) >= 2 */ |
| 441 | |
| 442 | suite.T().Log("About to run line #134: r.Expr(1).Ge(2)") |
| 443 | |
| 444 | runAndAssert(suite.Suite, expected_, r.Expr(1).Ge(2), suite.session, r.RunOpts{ |
| 445 | GeometryFormat: "raw", |
| 446 | GroupFormat: "map", |
| 447 | }) |
| 448 | suite.T().Log("Finished running line #134") |
| 449 | } |
| 450 | |
| 451 | { |
| 452 | // math_logic/comparison.yaml line #135 |
| 453 | /* false */ |
| 454 | var expected_ bool = false |
| 455 | /* 1 >= r.expr(2) */ |
| 456 | |
| 457 | suite.T().Log("About to run line #135: r.Ge(1, r.Expr(2))") |
| 458 | |
| 459 | runAndAssert(suite.Suite, expected_, r.Ge(1, r.Expr(2)), suite.session, r.RunOpts{ |
| 460 | GeometryFormat: "raw", |
| 461 | GroupFormat: "map", |
| 462 | }) |
| 463 | suite.T().Log("Finished running line #135") |
| 464 | } |
| 465 | |
| 466 | { |
| 467 | // math_logic/comparison.yaml line #136 |
| 468 | /* false */ |
| 469 | var expected_ bool = false |
| 470 | /* r.expr(1).ge(2) */ |
| 471 | |
| 472 | suite.T().Log("About to run line #136: r.Expr(1).Ge(2)") |
| 473 | |
| 474 | runAndAssert(suite.Suite, expected_, r.Expr(1).Ge(2), suite.session, r.RunOpts{ |
| 475 | GeometryFormat: "raw", |
| 476 | GroupFormat: "map", |
| 477 | }) |
| 478 | suite.T().Log("Finished running line #136") |
| 479 | } |
| 480 | |
| 481 | { |
| 482 | // math_logic/comparison.yaml line #141 |
| 483 | /* true */ |
| 484 | var expected_ bool = true |
| 485 | /* r.expr(3) >= 2 */ |
| 486 | |
| 487 | suite.T().Log("About to run line #141: r.Expr(3).Ge(2)") |
| 488 | |
| 489 | runAndAssert(suite.Suite, expected_, r.Expr(3).Ge(2), suite.session, r.RunOpts{ |
| 490 | GeometryFormat: "raw", |
| 491 | GroupFormat: "map", |
| 492 | }) |
| 493 | suite.T().Log("Finished running line #141") |
| 494 | } |
| 495 | |
| 496 | { |
| 497 | // math_logic/comparison.yaml line #145 |
| 498 | /* true */ |
| 499 | var expected_ bool = true |
| 500 | /* r.expr(2) >= 2 */ |
| 501 | |
| 502 | suite.T().Log("About to run line #145: r.Expr(2).Ge(2)") |
| 503 | |
| 504 | runAndAssert(suite.Suite, expected_, r.Expr(2).Ge(2), suite.session, r.RunOpts{ |
| 505 | GeometryFormat: "raw", |
| 506 | GroupFormat: "map", |
| 507 | }) |
| 508 | suite.T().Log("Finished running line #145") |
| 509 | } |
| 510 | |
| 511 | { |
| 512 | // math_logic/comparison.yaml line #158 |
| 513 | /* true */ |
| 514 | var expected_ bool = true |
| 515 | /* r.expr(null) == null */ |
| 516 | |
| 517 | suite.T().Log("About to run line #158: r.Expr(nil).Eq(nil)") |
| 518 | |
| 519 | runAndAssert(suite.Suite, expected_, r.Expr(nil).Eq(nil), suite.session, r.RunOpts{ |
| 520 | GeometryFormat: "raw", |
| 521 | GroupFormat: "map", |
| 522 | }) |
| 523 | suite.T().Log("Finished running line #158") |
| 524 | } |
| 525 | |
| 526 | { |
| 527 | // math_logic/comparison.yaml line #159 |
| 528 | /* true */ |
| 529 | var expected_ bool = true |
| 530 | /* null == r.expr(null) */ |
| 531 | |
| 532 | suite.T().Log("About to run line #159: r.Eq(nil, r.Expr(nil))") |
| 533 | |
| 534 | runAndAssert(suite.Suite, expected_, r.Eq(nil, r.Expr(nil)), suite.session, r.RunOpts{ |
| 535 | GeometryFormat: "raw", |
| 536 | GroupFormat: "map", |
| 537 | }) |
| 538 | suite.T().Log("Finished running line #159") |
| 539 | } |
| 540 | |
| 541 | { |
| 542 | // math_logic/comparison.yaml line #164 |
| 543 | /* false */ |
| 544 | var expected_ bool = false |
| 545 | /* r.expr(null) < null */ |
| 546 | |
| 547 | suite.T().Log("About to run line #164: r.Expr(nil).Lt(nil)") |
| 548 | |
| 549 | runAndAssert(suite.Suite, expected_, r.Expr(nil).Lt(nil), suite.session, r.RunOpts{ |
| 550 | GeometryFormat: "raw", |
| 551 | GroupFormat: "map", |
| 552 | }) |
| 553 | suite.T().Log("Finished running line #164") |
| 554 | } |
| 555 | |
| 556 | { |
| 557 | // math_logic/comparison.yaml line #165 |
| 558 | /* false */ |
| 559 | var expected_ bool = false |
| 560 | /* null < r.expr(null) */ |
| 561 | |
| 562 | suite.T().Log("About to run line #165: r.Lt(nil, r.Expr(nil))") |
| 563 | |
| 564 | runAndAssert(suite.Suite, expected_, r.Lt(nil, r.Expr(nil)), suite.session, r.RunOpts{ |
| 565 | GeometryFormat: "raw", |
| 566 | GroupFormat: "map", |
| 567 | }) |
| 568 | suite.T().Log("Finished running line #165") |
| 569 | } |
| 570 | |
| 571 | { |
| 572 | // math_logic/comparison.yaml line #166 |
| 573 | /* false */ |
| 574 | var expected_ bool = false |
| 575 | /* r.expr(null).lt(null) */ |
| 576 | |
| 577 | suite.T().Log("About to run line #166: r.Expr(nil).Lt(nil)") |
| 578 | |
| 579 | runAndAssert(suite.Suite, expected_, r.Expr(nil).Lt(nil), suite.session, r.RunOpts{ |
| 580 | GeometryFormat: "raw", |
| 581 | GroupFormat: "map", |
| 582 | }) |
| 583 | suite.T().Log("Finished running line #166") |
| 584 | } |
| 585 | |
| 586 | { |
| 587 | // math_logic/comparison.yaml line #172 |
| 588 | /* false */ |
| 589 | var expected_ bool = false |
| 590 | /* r.expr(null) > null */ |
| 591 | |
| 592 | suite.T().Log("About to run line #172: r.Expr(nil).Gt(nil)") |
| 593 | |
| 594 | runAndAssert(suite.Suite, expected_, r.Expr(nil).Gt(nil), suite.session, r.RunOpts{ |
| 595 | GeometryFormat: "raw", |
| 596 | GroupFormat: "map", |
| 597 | }) |
| 598 | suite.T().Log("Finished running line #172") |
| 599 | } |
| 600 | |
| 601 | { |
| 602 | // math_logic/comparison.yaml line #173 |
| 603 | /* false */ |
| 604 | var expected_ bool = false |
| 605 | /* null > r.expr(null) */ |
| 606 | |
| 607 | suite.T().Log("About to run line #173: r.Gt(nil, r.Expr(nil))") |
| 608 | |
| 609 | runAndAssert(suite.Suite, expected_, r.Gt(nil, r.Expr(nil)), suite.session, r.RunOpts{ |
| 610 | GeometryFormat: "raw", |
| 611 | GroupFormat: "map", |
| 612 | }) |
| 613 | suite.T().Log("Finished running line #173") |
| 614 | } |
| 615 | |
| 616 | { |
| 617 | // math_logic/comparison.yaml line #174 |
| 618 | /* false */ |
| 619 | var expected_ bool = false |
| 620 | /* r.expr(null).gt(null) */ |
| 621 | |
| 622 | suite.T().Log("About to run line #174: r.Expr(nil).Gt(nil)") |
| 623 | |
| 624 | runAndAssert(suite.Suite, expected_, r.Expr(nil).Gt(nil), suite.session, r.RunOpts{ |
| 625 | GeometryFormat: "raw", |
| 626 | GroupFormat: "map", |
| 627 | }) |
| 628 | suite.T().Log("Finished running line #174") |
| 629 | } |
| 630 | |
| 631 | { |
| 632 | // math_logic/comparison.yaml line #180 |
| 633 | /* true */ |
| 634 | var expected_ bool = true |
| 635 | /* r.expr('a') == 'a' */ |
| 636 | |
| 637 | suite.T().Log("About to run line #180: r.Expr('a').Eq('a')") |
| 638 | |
| 639 | runAndAssert(suite.Suite, expected_, r.Expr("a").Eq("a"), suite.session, r.RunOpts{ |
| 640 | GeometryFormat: "raw", |
| 641 | GroupFormat: "map", |
| 642 | }) |
| 643 | suite.T().Log("Finished running line #180") |
| 644 | } |
| 645 | |
| 646 | { |
| 647 | // math_logic/comparison.yaml line #184 |
| 648 | /* false */ |
| 649 | var expected_ bool = false |
| 650 | /* r.expr('a') == 'aa' */ |
| 651 | |
| 652 | suite.T().Log("About to run line #184: r.Expr('a').Eq('aa')") |
| 653 | |
| 654 | runAndAssert(suite.Suite, expected_, r.Expr("a").Eq("aa"), suite.session, r.RunOpts{ |
| 655 | GeometryFormat: "raw", |
| 656 | GroupFormat: "map", |
| 657 | }) |
| 658 | suite.T().Log("Finished running line #184") |
| 659 | } |
| 660 | |
| 661 | { |
| 662 | // math_logic/comparison.yaml line #188 |
| 663 | /* true */ |
| 664 | var expected_ bool = true |
| 665 | /* r.expr('a') < 'aa' */ |
| 666 | |
| 667 | suite.T().Log("About to run line #188: r.Expr('a').Lt('aa')") |
| 668 | |
| 669 | runAndAssert(suite.Suite, expected_, r.Expr("a").Lt("aa"), suite.session, r.RunOpts{ |
| 670 | GeometryFormat: "raw", |
| 671 | GroupFormat: "map", |
| 672 | }) |
| 673 | suite.T().Log("Finished running line #188") |
| 674 | } |
| 675 | |
| 676 | { |
| 677 | // math_logic/comparison.yaml line #192 |
| 678 | /* true */ |
| 679 | var expected_ bool = true |
| 680 | /* r.expr('a') < 'bb' */ |
| 681 | |
| 682 | suite.T().Log("About to run line #192: r.Expr('a').Lt('bb')") |
| 683 | |
| 684 | runAndAssert(suite.Suite, expected_, r.Expr("a").Lt("bb"), suite.session, r.RunOpts{ |
| 685 | GeometryFormat: "raw", |
| 686 | GroupFormat: "map", |
| 687 | }) |
| 688 | suite.T().Log("Finished running line #192") |
| 689 | } |
| 690 | |
| 691 | { |
| 692 | // math_logic/comparison.yaml line #196 |
| 693 | /* true */ |
| 694 | var expected_ bool = true |
| 695 | /* r.expr('bb') > 'a' */ |
| 696 | |
| 697 | suite.T().Log("About to run line #196: r.Expr('bb').Gt('a')") |
| 698 | |
| 699 | runAndAssert(suite.Suite, expected_, r.Expr("bb").Gt("a"), suite.session, r.RunOpts{ |
| 700 | GeometryFormat: "raw", |
| 701 | GroupFormat: "map", |
| 702 | }) |
| 703 | suite.T().Log("Finished running line #196") |
| 704 | } |
| 705 | |
| 706 | { |
| 707 | // math_logic/comparison.yaml line #200 |
| 708 | /* true */ |
| 709 | var expected_ bool = true |
| 710 | /* r.expr('abcdef') < 'abcdeg' */ |
| 711 | |
| 712 | suite.T().Log("About to run line #200: r.Expr('abcdef').Lt('abcdeg')") |
| 713 | |
| 714 | runAndAssert(suite.Suite, expected_, r.Expr("abcdef").Lt("abcdeg"), suite.session, r.RunOpts{ |
| 715 | GeometryFormat: "raw", |
| 716 | GroupFormat: "map", |
| 717 | }) |
| 718 | suite.T().Log("Finished running line #200") |
| 719 | } |
| 720 | |
| 721 | { |
| 722 | // math_logic/comparison.yaml line #204 |
| 723 | /* false */ |
| 724 | var expected_ bool = false |
| 725 | /* r.expr('abcdefg') > 'abcdeg' */ |
| 726 | |
| 727 | suite.T().Log("About to run line #204: r.Expr('abcdefg').Gt('abcdeg')") |
| 728 | |
| 729 | runAndAssert(suite.Suite, expected_, r.Expr("abcdefg").Gt("abcdeg"), suite.session, r.RunOpts{ |
| 730 | GeometryFormat: "raw", |
| 731 | GroupFormat: "map", |
| 732 | }) |
| 733 | suite.T().Log("Finished running line #204") |
| 734 | } |
| 735 | |
| 736 | { |
| 737 | // math_logic/comparison.yaml line #208 |
| 738 | /* true */ |
| 739 | var expected_ bool = true |
| 740 | /* r.expr('A quick brown fox') > 'A quick brawn fox' */ |
| 741 | |
| 742 | suite.T().Log("About to run line #208: r.Expr('A quick brown fox').Gt('A quick brawn fox')") |
| 743 | |
| 744 | runAndAssert(suite.Suite, expected_, r.Expr("A quick brown fox").Gt("A quick brawn fox"), suite.session, r.RunOpts{ |
| 745 | GeometryFormat: "raw", |
| 746 | GroupFormat: "map", |
| 747 | }) |
| 748 | suite.T().Log("Finished running line #208") |
| 749 | } |
| 750 | |
| 751 | { |
| 752 | // math_logic/comparison.yaml line #216 |
| 753 | /* true */ |
| 754 | var expected_ bool = true |
| 755 | /* r.expr([1]) < [2] */ |
| 756 | |
| 757 | suite.T().Log("About to run line #216: r.Expr([]interface{}{1}).Lt([]interface{}{2})") |
| 758 | |
| 759 | runAndAssert(suite.Suite, expected_, r.Expr([]interface{}{1}).Lt([]interface{}{2}), suite.session, r.RunOpts{ |
| 760 | GeometryFormat: "raw", |
| 761 | GroupFormat: "map", |
| 762 | }) |
| 763 | suite.T().Log("Finished running line #216") |
| 764 | } |
| 765 | |
| 766 | { |
| 767 | // math_logic/comparison.yaml line #221 |
| 768 | /* false */ |
| 769 | var expected_ bool = false |
| 770 | /* r.expr([1]) > [2] */ |
| 771 | |
| 772 | suite.T().Log("About to run line #221: r.Expr([]interface{}{1}).Gt([]interface{}{2})") |
| 773 | |
| 774 | runAndAssert(suite.Suite, expected_, r.Expr([]interface{}{1}).Gt([]interface{}{2}), suite.session, r.RunOpts{ |
| 775 | GeometryFormat: "raw", |
| 776 | GroupFormat: "map", |
| 777 | }) |
| 778 | suite.T().Log("Finished running line #221") |
| 779 | } |
| 780 | |
| 781 | { |
| 782 | // math_logic/comparison.yaml line #226 |
| 783 | /* true */ |
| 784 | var expected_ bool = true |
| 785 | /* r.expr([1, 0]) < [2] */ |
| 786 | |
| 787 | suite.T().Log("About to run line #226: r.Expr([]interface{}{1, 0}).Lt([]interface{}{2})") |
| 788 | |
| 789 | runAndAssert(suite.Suite, expected_, r.Expr([]interface{}{1, 0}).Lt([]interface{}{2}), suite.session, r.RunOpts{ |
| 790 | GeometryFormat: "raw", |
| 791 | GroupFormat: "map", |
| 792 | }) |
| 793 | suite.T().Log("Finished running line #226") |
| 794 | } |
| 795 | |
| 796 | { |
| 797 | // math_logic/comparison.yaml line #231 |
| 798 | /* false */ |
| 799 | var expected_ bool = false |
| 800 | /* r.expr([1, 0]) < [1] */ |
| 801 | |
| 802 | suite.T().Log("About to run line #231: r.Expr([]interface{}{1, 0}).Lt([]interface{}{1})") |
| 803 | |
| 804 | runAndAssert(suite.Suite, expected_, r.Expr([]interface{}{1, 0}).Lt([]interface{}{1}), suite.session, r.RunOpts{ |
| 805 | GeometryFormat: "raw", |
| 806 | GroupFormat: "map", |
| 807 | }) |
| 808 | suite.T().Log("Finished running line #231") |
| 809 | } |
| 810 | |
| 811 | { |
| 812 | // math_logic/comparison.yaml line #236 |
| 813 | /* true */ |
| 814 | var expected_ bool = true |
| 815 | /* r.expr([1, 0]) > [0] */ |
| 816 | |
| 817 | suite.T().Log("About to run line #236: r.Expr([]interface{}{1, 0}).Gt([]interface{}{0})") |
| 818 | |
| 819 | runAndAssert(suite.Suite, expected_, r.Expr([]interface{}{1, 0}).Gt([]interface{}{0}), suite.session, r.RunOpts{ |
| 820 | GeometryFormat: "raw", |
| 821 | GroupFormat: "map", |
| 822 | }) |
| 823 | suite.T().Log("Finished running line #236") |
| 824 | } |
| 825 | |
| 826 | { |
| 827 | // math_logic/comparison.yaml line #241 |
| 828 | /* true */ |
| 829 | var expected_ bool = true |
| 830 | /* r.expr([1, 'a']) < [1, 'b'] */ |
| 831 | |
| 832 | suite.T().Log("About to run line #241: r.Expr([]interface{}{1, 'a'}).Lt([]interface{}{1, 'b'})") |
| 833 | |
| 834 | runAndAssert(suite.Suite, expected_, r.Expr([]interface{}{1, "a"}).Lt([]interface{}{1, "b"}), suite.session, r.RunOpts{ |
| 835 | GeometryFormat: "raw", |
| 836 | GroupFormat: "map", |
| 837 | }) |
| 838 | suite.T().Log("Finished running line #241") |
| 839 | } |
| 840 | |
| 841 | { |
| 842 | // math_logic/comparison.yaml line #246 |
| 843 | /* true */ |
| 844 | var expected_ bool = true |
| 845 | /* r.expr([0, 'z']) < [1, 'b'] */ |
| 846 | |
| 847 | suite.T().Log("About to run line #246: r.Expr([]interface{}{0, 'z'}).Lt([]interface{}{1, 'b'})") |
| 848 | |
| 849 | runAndAssert(suite.Suite, expected_, r.Expr([]interface{}{0, "z"}).Lt([]interface{}{1, "b"}), suite.session, r.RunOpts{ |
| 850 | GeometryFormat: "raw", |
| 851 | GroupFormat: "map", |
| 852 | }) |
| 853 | suite.T().Log("Finished running line #246") |
| 854 | } |
| 855 | |
| 856 | { |
| 857 | // math_logic/comparison.yaml line #251 |
| 858 | /* false */ |
| 859 | var expected_ bool = false |
| 860 | /* r.expr([1, 1, 1]) < [1, 0, 2] */ |
| 861 | |
| 862 | suite.T().Log("About to run line #251: r.Expr([]interface{}{1, 1, 1}).Lt([]interface{}{1, 0, 2})") |
| 863 | |
| 864 | runAndAssert(suite.Suite, expected_, r.Expr([]interface{}{1, 1, 1}).Lt([]interface{}{1, 0, 2}), suite.session, r.RunOpts{ |
| 865 | GeometryFormat: "raw", |
| 866 | GroupFormat: "map", |
| 867 | }) |
| 868 | suite.T().Log("Finished running line #251") |
| 869 | } |
| 870 | |
| 871 | { |
| 872 | // math_logic/comparison.yaml line #256 |
| 873 | /* true */ |
| 874 | var expected_ bool = true |
| 875 | /* r.expr([1, 0, 2]) < [1, 1, 1] */ |
| 876 | |
| 877 | suite.T().Log("About to run line #256: r.Expr([]interface{}{1, 0, 2}).Lt([]interface{}{1, 1, 1})") |
| 878 | |
| 879 | runAndAssert(suite.Suite, expected_, r.Expr([]interface{}{1, 0, 2}).Lt([]interface{}{1, 1, 1}), suite.session, r.RunOpts{ |
| 880 | GeometryFormat: "raw", |
| 881 | GroupFormat: "map", |
| 882 | }) |
| 883 | suite.T().Log("Finished running line #256") |
| 884 | } |
| 885 | |
| 886 | { |
| 887 | // math_logic/comparison.yaml line #263 |
| 888 | /* true */ |
| 889 | var expected_ bool = true |
| 890 | /* r.expr({'a':0}) == {'a':0} */ |
| 891 | |
| 892 | suite.T().Log("About to run line #263: r.Expr(map[interface{}]interface{}{'a': 0, }).Eq(map[interface{}]interface{}{'a': 0, })") |
| 893 | |
| 894 | runAndAssert(suite.Suite, expected_, r.Expr(map[interface{}]interface{}{"a": 0}).Eq(map[interface{}]interface{}{"a": 0}), suite.session, r.RunOpts{ |
| 895 | GeometryFormat: "raw", |
| 896 | GroupFormat: "map", |
| 897 | }) |
| 898 | suite.T().Log("Finished running line #263") |
| 899 | } |
| 900 | |
| 901 | { |
| 902 | // math_logic/comparison.yaml line #267 |
| 903 | /* true */ |
| 904 | var expected_ bool = true |
| 905 | /* r.expr({'a':0, 'b':1}) == {'b':1, 'a':0} */ |
| 906 | |
| 907 | suite.T().Log("About to run line #267: r.Expr(map[interface{}]interface{}{'a': 0, 'b': 1, }).Eq(map[interface{}]interface{}{'b': 1, 'a': 0, })") |
| 908 | |
| 909 | runAndAssert(suite.Suite, expected_, r.Expr(map[interface{}]interface{}{"a": 0, "b": 1}).Eq(map[interface{}]interface{}{"b": 1, "a": 0}), suite.session, r.RunOpts{ |
| 910 | GeometryFormat: "raw", |
| 911 | GroupFormat: "map", |
| 912 | }) |
| 913 | suite.T().Log("Finished running line #267") |
| 914 | } |
| 915 | |
| 916 | { |
| 917 | // math_logic/comparison.yaml line #271 |
| 918 | /* false */ |
| 919 | var expected_ bool = false |
| 920 | /* r.expr({'a':0, 'b':1, 'c':2}) == {'b':1, 'a':0} */ |
| 921 | |
| 922 | suite.T().Log("About to run line #271: r.Expr(map[interface{}]interface{}{'a': 0, 'b': 1, 'c': 2, }).Eq(map[interface{}]interface{}{'b': 1, 'a': 0, })") |
| 923 | |
| 924 | runAndAssert(suite.Suite, expected_, r.Expr(map[interface{}]interface{}{"a": 0, "b": 1, "c": 2}).Eq(map[interface{}]interface{}{"b": 1, "a": 0}), suite.session, r.RunOpts{ |
| 925 | GeometryFormat: "raw", |
| 926 | GroupFormat: "map", |
| 927 | }) |
| 928 | suite.T().Log("Finished running line #271") |
| 929 | } |
| 930 | |
| 931 | { |
| 932 | // math_logic/comparison.yaml line #275 |
| 933 | /* false */ |
| 934 | var expected_ bool = false |
| 935 | /* r.expr({'a':0, 'b':1}) == {'b':1, 'a':0, 'c':2} */ |
| 936 | |
| 937 | suite.T().Log("About to run line #275: r.Expr(map[interface{}]interface{}{'a': 0, 'b': 1, }).Eq(map[interface{}]interface{}{'b': 1, 'a': 0, 'c': 2, })") |
| 938 | |
| 939 | runAndAssert(suite.Suite, expected_, r.Expr(map[interface{}]interface{}{"a": 0, "b": 1}).Eq(map[interface{}]interface{}{"b": 1, "a": 0, "c": 2}), suite.session, r.RunOpts{ |
| 940 | GeometryFormat: "raw", |
| 941 | GroupFormat: "map", |
| 942 | }) |
| 943 | suite.T().Log("Finished running line #275") |
| 944 | } |
| 945 | |
| 946 | { |
| 947 | // math_logic/comparison.yaml line #279 |
| 948 | /* false */ |
| 949 | var expected_ bool = false |
| 950 | /* r.expr({'a':0, 'b':1, 'd':2}) == {'b':1, 'a':0, 'c':2} */ |
| 951 | |
| 952 | suite.T().Log("About to run line #279: r.Expr(map[interface{}]interface{}{'a': 0, 'b': 1, 'd': 2, }).Eq(map[interface{}]interface{}{'b': 1, 'a': 0, 'c': 2, })") |
| 953 | |
| 954 | runAndAssert(suite.Suite, expected_, r.Expr(map[interface{}]interface{}{"a": 0, "b": 1, "d": 2}).Eq(map[interface{}]interface{}{"b": 1, "a": 0, "c": 2}), suite.session, r.RunOpts{ |
| 955 | GeometryFormat: "raw", |
| 956 | GroupFormat: "map", |
| 957 | }) |
| 958 | suite.T().Log("Finished running line #279") |
| 959 | } |
| 960 | |
| 961 | { |
| 962 | // math_logic/comparison.yaml line #283 |
| 963 | /* true */ |
| 964 | var expected_ bool = true |
| 965 | /* r.expr({'a':0}) < {'b':0} */ |
| 966 | |
| 967 | suite.T().Log("About to run line #283: r.Expr(map[interface{}]interface{}{'a': 0, }).Lt(map[interface{}]interface{}{'b': 0, })") |
| 968 | |
| 969 | runAndAssert(suite.Suite, expected_, r.Expr(map[interface{}]interface{}{"a": 0}).Lt(map[interface{}]interface{}{"b": 0}), suite.session, r.RunOpts{ |
| 970 | GeometryFormat: "raw", |
| 971 | GroupFormat: "map", |
| 972 | }) |
| 973 | suite.T().Log("Finished running line #283") |
| 974 | } |
| 975 | |
| 976 | { |
| 977 | // math_logic/comparison.yaml line #287 |
| 978 | /* true */ |
| 979 | var expected_ bool = true |
| 980 | /* r.expr({'a':1}) < {'b':0} */ |
| 981 | |
| 982 | suite.T().Log("About to run line #287: r.Expr(map[interface{}]interface{}{'a': 1, }).Lt(map[interface{}]interface{}{'b': 0, })") |
| 983 | |
| 984 | runAndAssert(suite.Suite, expected_, r.Expr(map[interface{}]interface{}{"a": 1}).Lt(map[interface{}]interface{}{"b": 0}), suite.session, r.RunOpts{ |
| 985 | GeometryFormat: "raw", |
| 986 | GroupFormat: "map", |
| 987 | }) |
| 988 | suite.T().Log("Finished running line #287") |
| 989 | } |
| 990 | |
| 991 | { |
| 992 | // math_logic/comparison.yaml line #291 |
| 993 | /* false */ |
| 994 | var expected_ bool = false |
| 995 | /* r.expr({'b':1}) < {'b':0} */ |
| 996 | |
| 997 | suite.T().Log("About to run line #291: r.Expr(map[interface{}]interface{}{'b': 1, }).Lt(map[interface{}]interface{}{'b': 0, })") |
| 998 | |
| 999 | runAndAssert(suite.Suite, expected_, r.Expr(map[interface{}]interface{}{"b": 1}).Lt(map[interface{}]interface{}{"b": 0}), suite.session, r.RunOpts{ |
| 1000 | GeometryFormat: "raw", |
| 1001 | GroupFormat: "map", |
| 1002 | }) |
| 1003 | suite.T().Log("Finished running line #291") |
| 1004 | } |
| 1005 | |
| 1006 | { |
| 1007 | // math_logic/comparison.yaml line #295 |
| 1008 | /* false */ |
| 1009 | var expected_ bool = false |
| 1010 | /* r.expr({'b':1}) < {'a':0} */ |
| 1011 | |
| 1012 | suite.T().Log("About to run line #295: r.Expr(map[interface{}]interface{}{'b': 1, }).Lt(map[interface{}]interface{}{'a': 0, })") |
| 1013 | |
| 1014 | runAndAssert(suite.Suite, expected_, r.Expr(map[interface{}]interface{}{"b": 1}).Lt(map[interface{}]interface{}{"a": 0}), suite.session, r.RunOpts{ |
| 1015 | GeometryFormat: "raw", |
| 1016 | GroupFormat: "map", |
| 1017 | }) |
| 1018 | suite.T().Log("Finished running line #295") |
| 1019 | } |
| 1020 | |
| 1021 | { |
| 1022 | // math_logic/comparison.yaml line #299 |
| 1023 | /* false */ |
| 1024 | var expected_ bool = false |
| 1025 | /* r.expr({'a':0, 'b':1, 'c':2}) < {'a':0, 'b':1, 'c':2} */ |
| 1026 | |
| 1027 | suite.T().Log("About to run line #299: r.Expr(map[interface{}]interface{}{'a': 0, 'b': 1, 'c': 2, }).Lt(map[interface{}]interface{}{'a': 0, 'b': 1, 'c': 2, })") |
| 1028 | |
| 1029 | runAndAssert(suite.Suite, expected_, r.Expr(map[interface{}]interface{}{"a": 0, "b": 1, "c": 2}).Lt(map[interface{}]interface{}{"a": 0, "b": 1, "c": 2}), suite.session, r.RunOpts{ |
| 1030 | GeometryFormat: "raw", |
| 1031 | GroupFormat: "map", |
| 1032 | }) |
| 1033 | suite.T().Log("Finished running line #299") |
| 1034 | } |
| 1035 | |
| 1036 | { |
| 1037 | // math_logic/comparison.yaml line #303 |
| 1038 | /* false */ |
| 1039 | var expected_ bool = false |
| 1040 | /* r.expr({'a':0, 'b':1, 'c':2, 'd':3}) < {'a':0, 'b':1, 'c':2} */ |
| 1041 | |
| 1042 | suite.T().Log("About to run line #303: r.Expr(map[interface{}]interface{}{'a': 0, 'b': 1, 'c': 2, 'd': 3, }).Lt(map[interface{}]interface{}{'a': 0, 'b': 1, 'c': 2, })") |
| 1043 | |
| 1044 | runAndAssert(suite.Suite, expected_, r.Expr(map[interface{}]interface{}{"a": 0, "b": 1, "c": 2, "d": 3}).Lt(map[interface{}]interface{}{"a": 0, "b": 1, "c": 2}), suite.session, r.RunOpts{ |
| 1045 | GeometryFormat: "raw", |
| 1046 | GroupFormat: "map", |
| 1047 | }) |
| 1048 | suite.T().Log("Finished running line #303") |
| 1049 | } |
| 1050 | |
| 1051 | { |
| 1052 | // math_logic/comparison.yaml line #307 |
| 1053 | /* true */ |
| 1054 | var expected_ bool = true |
| 1055 | /* r.expr({'a':0, 'b':1, 'c':2}) < {'a':0, 'b':1, 'c':2, 'd':3} */ |
| 1056 | |
| 1057 | suite.T().Log("About to run line #307: r.Expr(map[interface{}]interface{}{'a': 0, 'b': 1, 'c': 2, }).Lt(map[interface{}]interface{}{'a': 0, 'b': 1, 'c': 2, 'd': 3, })") |
| 1058 | |
| 1059 | runAndAssert(suite.Suite, expected_, r.Expr(map[interface{}]interface{}{"a": 0, "b": 1, "c": 2}).Lt(map[interface{}]interface{}{"a": 0, "b": 1, "c": 2, "d": 3}), suite.session, r.RunOpts{ |
| 1060 | GeometryFormat: "raw", |
| 1061 | GroupFormat: "map", |
| 1062 | }) |
| 1063 | suite.T().Log("Finished running line #307") |
| 1064 | } |
| 1065 | |
| 1066 | { |
| 1067 | // math_logic/comparison.yaml line #311 |
| 1068 | /* false */ |
| 1069 | var expected_ bool = false |
| 1070 | /* r.expr({'a':0, 'c':2}) < {'a':0, 'b':1, 'c':2} */ |
| 1071 | |
| 1072 | suite.T().Log("About to run line #311: r.Expr(map[interface{}]interface{}{'a': 0, 'c': 2, }).Lt(map[interface{}]interface{}{'a': 0, 'b': 1, 'c': 2, })") |
| 1073 | |
| 1074 | runAndAssert(suite.Suite, expected_, r.Expr(map[interface{}]interface{}{"a": 0, "c": 2}).Lt(map[interface{}]interface{}{"a": 0, "b": 1, "c": 2}), suite.session, r.RunOpts{ |
| 1075 | GeometryFormat: "raw", |
| 1076 | GroupFormat: "map", |
| 1077 | }) |
| 1078 | suite.T().Log("Finished running line #311") |
| 1079 | } |
| 1080 | |
| 1081 | { |
| 1082 | // math_logic/comparison.yaml line #315 |
| 1083 | /* true */ |
| 1084 | var expected_ bool = true |
| 1085 | /* r.expr({'a':0, 'c':2}) > {'a':0, 'b':1, 'c':2} */ |
| 1086 | |
| 1087 | suite.T().Log("About to run line #315: r.Expr(map[interface{}]interface{}{'a': 0, 'c': 2, }).Gt(map[interface{}]interface{}{'a': 0, 'b': 1, 'c': 2, })") |
| 1088 | |
| 1089 | runAndAssert(suite.Suite, expected_, r.Expr(map[interface{}]interface{}{"a": 0, "c": 2}).Gt(map[interface{}]interface{}{"a": 0, "b": 1, "c": 2}), suite.session, r.RunOpts{ |
| 1090 | GeometryFormat: "raw", |
| 1091 | GroupFormat: "map", |
| 1092 | }) |
| 1093 | suite.T().Log("Finished running line #315") |
| 1094 | } |
| 1095 | |
| 1096 | // math_logic/comparison.yaml line #331 |
| 1097 | // everything = r.expr([[],r.now(),r.binary(b"\x00"),false,null,-5,{},"a",r.maxval]) |
| 1098 | suite.T().Log("Possibly executing: var everything r.Term = r.Expr([]interface{}{[]interface{}{}, r.Now(), r.Binary([]byte{0}), false, nil, -5, map[interface{}]interface{}{}, 'a', r.MaxVal})") |
| 1099 | |
| 1100 | everything := r.Expr([]interface{}{[]interface{}{}, r.Now(), r.Binary([]byte{0}), false, nil, -5, map[interface{}]interface{}{}, "a", r.MaxVal}) |
| 1101 | _ = everything // Prevent any noused variable errors |
| 1102 | |
| 1103 | { |
| 1104 | // math_logic/comparison.yaml line #336 |
| 1105 | /* true */ |
| 1106 | var expected_ bool = true |
| 1107 | /* r.and_(r.args(everything.map(r.lt(r.minval, r.row)))) */ |
| 1108 | |
| 1109 | suite.T().Log("About to run line #336: r.And(r.Args(everything.Map(r.Lt(r.MinVal, r.Row))))") |
| 1110 | |
| 1111 | runAndAssert(suite.Suite, expected_, r.And(r.Args(everything.Map(r.Lt(r.MinVal, r.Row)))), suite.session, r.RunOpts{ |
| 1112 | GeometryFormat: "raw", |
| 1113 | GroupFormat: "map", |
| 1114 | }) |
| 1115 | suite.T().Log("Finished running line #336") |
| 1116 | } |
| 1117 | |
| 1118 | { |
| 1119 | // math_logic/comparison.yaml line #341 |
| 1120 | /* false */ |
| 1121 | var expected_ bool = false |
| 1122 | /* r.or_(r.args(everything.map(r.gt(r.minval, r.row)))) */ |
| 1123 | |
| 1124 | suite.T().Log("About to run line #341: r.Or(r.Args(everything.Map(r.Gt(r.MinVal, r.Row))))") |
| 1125 | |
| 1126 | runAndAssert(suite.Suite, expected_, r.Or(r.Args(everything.Map(r.Gt(r.MinVal, r.Row)))), suite.session, r.RunOpts{ |
| 1127 | GeometryFormat: "raw", |
| 1128 | GroupFormat: "map", |
| 1129 | }) |
| 1130 | suite.T().Log("Finished running line #341") |
| 1131 | } |
| 1132 | |
| 1133 | { |
| 1134 | // math_logic/comparison.yaml line #345 |
| 1135 | /* true */ |
| 1136 | var expected_ bool = true |
| 1137 | /* r.eq(r.minval, r.minval) */ |
| 1138 | |
| 1139 | suite.T().Log("About to run line #345: r.Eq(r.MinVal, r.MinVal)") |
| 1140 | |
| 1141 | runAndAssert(suite.Suite, expected_, r.Eq(r.MinVal, r.MinVal), suite.session, r.RunOpts{ |
| 1142 | GeometryFormat: "raw", |
| 1143 | GroupFormat: "map", |
| 1144 | }) |
| 1145 | suite.T().Log("Finished running line #345") |
| 1146 | } |
| 1147 | |
| 1148 | { |
| 1149 | // math_logic/comparison.yaml line #348 |
| 1150 | /* true */ |
| 1151 | var expected_ bool = true |
| 1152 | /* r.expr([]) < True */ |
| 1153 | |
| 1154 | suite.T().Log("About to run line #348: r.Expr([]interface{}{}).Lt(true)") |
| 1155 | |
| 1156 | runAndAssert(suite.Suite, expected_, r.Expr([]interface{}{}).Lt(true), suite.session, r.RunOpts{ |
| 1157 | GeometryFormat: "raw", |
| 1158 | GroupFormat: "map", |
| 1159 | }) |
| 1160 | suite.T().Log("Finished running line #348") |
| 1161 | } |
| 1162 | |
| 1163 | { |
| 1164 | // math_logic/comparison.yaml line #353 |
| 1165 | /* true */ |
| 1166 | var expected_ bool = true |
| 1167 | /* r.expr([1,2]) < False */ |
| 1168 | |
| 1169 | suite.T().Log("About to run line #353: r.Expr([]interface{}{1, 2}).Lt(false)") |
| 1170 | |
| 1171 | runAndAssert(suite.Suite, expected_, r.Expr([]interface{}{1, 2}).Lt(false), suite.session, r.RunOpts{ |
| 1172 | GeometryFormat: "raw", |
| 1173 | GroupFormat: "map", |
| 1174 | }) |
| 1175 | suite.T().Log("Finished running line #353") |
| 1176 | } |
| 1177 | |
| 1178 | { |
| 1179 | // math_logic/comparison.yaml line #358 |
| 1180 | /* false */ |
| 1181 | var expected_ bool = false |
| 1182 | /* r.expr(False) < [] */ |
| 1183 | |
| 1184 | suite.T().Log("About to run line #358: r.Expr(false).Lt([]interface{}{})") |
| 1185 | |
| 1186 | runAndAssert(suite.Suite, expected_, r.Expr(false).Lt([]interface{}{}), suite.session, r.RunOpts{ |
| 1187 | GeometryFormat: "raw", |
| 1188 | GroupFormat: "map", |
| 1189 | }) |
| 1190 | suite.T().Log("Finished running line #358") |
| 1191 | } |
| 1192 | |
| 1193 | { |
| 1194 | // math_logic/comparison.yaml line #363 |
| 1195 | /* true */ |
| 1196 | var expected_ bool = true |
| 1197 | /* r.expr([]) < r.binary(b"\xAE") */ |
| 1198 | |
| 1199 | suite.T().Log("About to run line #363: r.Expr([]interface{}{}).Lt(r.Binary([]byte{174}))") |
| 1200 | |
| 1201 | runAndAssert(suite.Suite, expected_, r.Expr([]interface{}{}).Lt(r.Binary([]byte{174})), suite.session, r.RunOpts{ |
| 1202 | GeometryFormat: "raw", |
| 1203 | GroupFormat: "map", |
| 1204 | }) |
| 1205 | suite.T().Log("Finished running line #363") |
| 1206 | } |
| 1207 | |
| 1208 | { |
| 1209 | // math_logic/comparison.yaml line #368 |
| 1210 | /* true */ |
| 1211 | var expected_ bool = true |
| 1212 | /* r.expr([1,2]) < r.binary(b"\xAE") */ |
| 1213 | |
| 1214 | suite.T().Log("About to run line #368: r.Expr([]interface{}{1, 2}).Lt(r.Binary([]byte{174}))") |
| 1215 | |
| 1216 | runAndAssert(suite.Suite, expected_, r.Expr([]interface{}{1, 2}).Lt(r.Binary([]byte{174})), suite.session, r.RunOpts{ |
| 1217 | GeometryFormat: "raw", |
| 1218 | GroupFormat: "map", |
| 1219 | }) |
| 1220 | suite.T().Log("Finished running line #368") |
| 1221 | } |
| 1222 | |
| 1223 | { |
| 1224 | // math_logic/comparison.yaml line #373 |
| 1225 | /* true */ |
| 1226 | var expected_ bool = true |
| 1227 | /* True < r.expr(null) */ |
| 1228 | |
| 1229 | suite.T().Log("About to run line #373: r.Lt(true, r.Expr(nil))") |
| 1230 | |
| 1231 | runAndAssert(suite.Suite, expected_, r.Lt(true, r.Expr(nil)), suite.session, r.RunOpts{ |
| 1232 | GeometryFormat: "raw", |
| 1233 | GroupFormat: "map", |
| 1234 | }) |
| 1235 | suite.T().Log("Finished running line #373") |
| 1236 | } |
| 1237 | |
| 1238 | { |
| 1239 | // math_logic/comparison.yaml line #378 |
| 1240 | /* true */ |
| 1241 | var expected_ bool = true |
| 1242 | /* r.expr(null) > [] */ |
| 1243 | |
| 1244 | suite.T().Log("About to run line #378: r.Expr(nil).Gt([]interface{}{})") |
| 1245 | |
| 1246 | runAndAssert(suite.Suite, expected_, r.Expr(nil).Gt([]interface{}{}), suite.session, r.RunOpts{ |
| 1247 | GeometryFormat: "raw", |
| 1248 | GroupFormat: "map", |
| 1249 | }) |
| 1250 | suite.T().Log("Finished running line #378") |
| 1251 | } |
| 1252 | |
| 1253 | { |
| 1254 | // math_logic/comparison.yaml line #383 |
| 1255 | /* true */ |
| 1256 | var expected_ bool = true |
| 1257 | /* r.expr(null) < 12 */ |
| 1258 | |
| 1259 | suite.T().Log("About to run line #383: r.Expr(nil).Lt(12)") |
| 1260 | |
| 1261 | runAndAssert(suite.Suite, expected_, r.Expr(nil).Lt(12), suite.session, r.RunOpts{ |
| 1262 | GeometryFormat: "raw", |
| 1263 | GroupFormat: "map", |
| 1264 | }) |
| 1265 | suite.T().Log("Finished running line #383") |
| 1266 | } |
| 1267 | |
| 1268 | { |
| 1269 | // math_logic/comparison.yaml line #388 |
| 1270 | /* true */ |
| 1271 | var expected_ bool = true |
| 1272 | /* r.expr(null) < -2 */ |
| 1273 | |
| 1274 | suite.T().Log("About to run line #388: r.Expr(nil).Lt(-2)") |
| 1275 | |
| 1276 | runAndAssert(suite.Suite, expected_, r.Expr(nil).Lt(-2), suite.session, r.RunOpts{ |
| 1277 | GeometryFormat: "raw", |
| 1278 | GroupFormat: "map", |
| 1279 | }) |
| 1280 | suite.T().Log("Finished running line #388") |
| 1281 | } |
| 1282 | |
| 1283 | { |
| 1284 | // math_logic/comparison.yaml line #393 |
| 1285 | /* true */ |
| 1286 | var expected_ bool = true |
| 1287 | /* r.expr(-12) < {} */ |
| 1288 | |
| 1289 | suite.T().Log("About to run line #393: r.Expr(-12).Lt(map[interface{}]interface{}{})") |
| 1290 | |
| 1291 | runAndAssert(suite.Suite, expected_, r.Expr(-12).Lt(map[interface{}]interface{}{}), suite.session, r.RunOpts{ |
| 1292 | GeometryFormat: "raw", |
| 1293 | GroupFormat: "map", |
| 1294 | }) |
| 1295 | suite.T().Log("Finished running line #393") |
| 1296 | } |
| 1297 | |
| 1298 | { |
| 1299 | // math_logic/comparison.yaml line #398 |
| 1300 | /* true */ |
| 1301 | var expected_ bool = true |
| 1302 | /* r.expr(100) < {'a':-12} */ |
| 1303 | |
| 1304 | suite.T().Log("About to run line #398: r.Expr(100).Lt(map[interface{}]interface{}{'a': -12, })") |
| 1305 | |
| 1306 | runAndAssert(suite.Suite, expected_, r.Expr(100).Lt(map[interface{}]interface{}{"a": -12}), suite.session, r.RunOpts{ |
| 1307 | GeometryFormat: "raw", |
| 1308 | GroupFormat: "map", |
| 1309 | }) |
| 1310 | suite.T().Log("Finished running line #398") |
| 1311 | } |
| 1312 | |
| 1313 | { |
| 1314 | // math_logic/comparison.yaml line #403 |
| 1315 | /* false */ |
| 1316 | var expected_ bool = false |
| 1317 | /* r.expr(r.binary(b"\xAE")) < 12 */ |
| 1318 | |
| 1319 | suite.T().Log("About to run line #403: r.Expr(r.Binary([]byte{174})).Lt(12)") |
| 1320 | |
| 1321 | runAndAssert(suite.Suite, expected_, r.Expr(r.Binary([]byte{174})).Lt(12), suite.session, r.RunOpts{ |
| 1322 | GeometryFormat: "raw", |
| 1323 | GroupFormat: "map", |
| 1324 | }) |
| 1325 | suite.T().Log("Finished running line #403") |
| 1326 | } |
| 1327 | |
| 1328 | { |
| 1329 | // math_logic/comparison.yaml line #408 |
| 1330 | /* true */ |
| 1331 | var expected_ bool = true |
| 1332 | /* r.binary(b"0xAE") < 'abc' */ |
| 1333 | |
| 1334 | suite.T().Log("About to run line #408: r.Binary([]byte{48,120,65,69}).Lt('abc')") |
| 1335 | |
| 1336 | runAndAssert(suite.Suite, expected_, r.Binary([]byte{48, 120, 65, 69}).Lt("abc"), suite.session, r.RunOpts{ |
| 1337 | GeometryFormat: "raw", |
| 1338 | GroupFormat: "map", |
| 1339 | }) |
| 1340 | suite.T().Log("Finished running line #408") |
| 1341 | } |
| 1342 | |
| 1343 | { |
| 1344 | // math_logic/comparison.yaml line #413 |
| 1345 | /* false */ |
| 1346 | var expected_ bool = false |
| 1347 | /* r.binary(b"0xAE") > r.now() */ |
| 1348 | |
| 1349 | suite.T().Log("About to run line #413: r.Binary([]byte{48,120,65,69}).Gt(r.Now())") |
| 1350 | |
| 1351 | runAndAssert(suite.Suite, expected_, r.Binary([]byte{48, 120, 65, 69}).Gt(r.Now()), suite.session, r.RunOpts{ |
| 1352 | GeometryFormat: "raw", |
| 1353 | GroupFormat: "map", |
| 1354 | }) |
| 1355 | suite.T().Log("Finished running line #413") |
| 1356 | } |
| 1357 | |
| 1358 | { |
| 1359 | // math_logic/comparison.yaml line #418 |
| 1360 | /* true */ |
| 1361 | var expected_ bool = true |
| 1362 | /* r.now() > 12 */ |
| 1363 | |
| 1364 | suite.T().Log("About to run line #418: r.Now().Gt(12)") |
| 1365 | |
| 1366 | runAndAssert(suite.Suite, expected_, r.Now().Gt(12), suite.session, r.RunOpts{ |
| 1367 | GeometryFormat: "raw", |
| 1368 | GroupFormat: "map", |
| 1369 | }) |
| 1370 | suite.T().Log("Finished running line #418") |
| 1371 | } |
| 1372 | |
| 1373 | { |
| 1374 | // math_logic/comparison.yaml line #422 |
| 1375 | /* false */ |
| 1376 | var expected_ bool = false |
| 1377 | /* r.now() > 'abc' */ |
| 1378 | |
| 1379 | suite.T().Log("About to run line #422: r.Now().Gt('abc')") |
| 1380 | |
| 1381 | runAndAssert(suite.Suite, expected_, r.Now().Gt("abc"), suite.session, r.RunOpts{ |
| 1382 | GeometryFormat: "raw", |
| 1383 | GroupFormat: "map", |
| 1384 | }) |
| 1385 | suite.T().Log("Finished running line #422") |
| 1386 | } |
| 1387 | |
| 1388 | { |
| 1389 | // math_logic/comparison.yaml line #426 |
| 1390 | /* true */ |
| 1391 | var expected_ bool = true |
| 1392 | /* r.expr("abc") > {'a':-12} */ |
| 1393 | |
| 1394 | suite.T().Log("About to run line #426: r.Expr('abc').Gt(map[interface{}]interface{}{'a': -12, })") |
| 1395 | |
| 1396 | runAndAssert(suite.Suite, expected_, r.Expr("abc").Gt(map[interface{}]interface{}{"a": -12}), suite.session, r.RunOpts{ |
| 1397 | GeometryFormat: "raw", |
| 1398 | GroupFormat: "map", |
| 1399 | }) |
| 1400 | suite.T().Log("Finished running line #426") |
| 1401 | } |
| 1402 | |
| 1403 | { |
| 1404 | // math_logic/comparison.yaml line #431 |
| 1405 | /* true */ |
| 1406 | var expected_ bool = true |
| 1407 | /* r.expr("abc") > {'abc':'abc'} */ |
| 1408 | |
| 1409 | suite.T().Log("About to run line #431: r.Expr('abc').Gt(map[interface{}]interface{}{'abc': 'abc', })") |
| 1410 | |
| 1411 | runAndAssert(suite.Suite, expected_, r.Expr("abc").Gt(map[interface{}]interface{}{"abc": "abc"}), suite.session, r.RunOpts{ |
| 1412 | GeometryFormat: "raw", |
| 1413 | GroupFormat: "map", |
| 1414 | }) |
| 1415 | suite.T().Log("Finished running line #431") |
| 1416 | } |
| 1417 | |
| 1418 | { |
| 1419 | // math_logic/comparison.yaml line #436 |
| 1420 | /* true */ |
| 1421 | var expected_ bool = true |
| 1422 | /* r.expr('zzz') > 128 */ |
| 1423 | |
| 1424 | suite.T().Log("About to run line #436: r.Expr('zzz').Gt(128)") |
| 1425 | |
| 1426 | runAndAssert(suite.Suite, expected_, r.Expr("zzz").Gt(128), suite.session, r.RunOpts{ |
| 1427 | GeometryFormat: "raw", |
| 1428 | GroupFormat: "map", |
| 1429 | }) |
| 1430 | suite.T().Log("Finished running line #436") |
| 1431 | } |
| 1432 | |
| 1433 | { |
| 1434 | // math_logic/comparison.yaml line #441 |
| 1435 | /* true */ |
| 1436 | var expected_ bool = true |
| 1437 | /* r.expr('zzz') > {} */ |
| 1438 | |
| 1439 | suite.T().Log("About to run line #441: r.Expr('zzz').Gt(map[interface{}]interface{}{})") |
| 1440 | |
| 1441 | runAndAssert(suite.Suite, expected_, r.Expr("zzz").Gt(map[interface{}]interface{}{}), suite.session, r.RunOpts{ |
| 1442 | GeometryFormat: "raw", |
| 1443 | GroupFormat: "map", |
| 1444 | }) |
| 1445 | suite.T().Log("Finished running line #441") |
| 1446 | } |
| 1447 | |
| 1448 | { |
| 1449 | // math_logic/comparison.yaml line #446 |
| 1450 | /* true */ |
| 1451 | var expected_ bool = true |
| 1452 | /* 'zzz' > r.expr(-152) */ |
| 1453 | |
| 1454 | suite.T().Log("About to run line #446: r.Gt('zzz', r.Expr(-152))") |
| 1455 | |
| 1456 | runAndAssert(suite.Suite, expected_, r.Gt("zzz", r.Expr(-152)), suite.session, r.RunOpts{ |
| 1457 | GeometryFormat: "raw", |
| 1458 | GroupFormat: "map", |
| 1459 | }) |
| 1460 | suite.T().Log("Finished running line #446") |
| 1461 | } |
| 1462 | |
| 1463 | { |
| 1464 | // math_logic/comparison.yaml line #451 |
| 1465 | /* true */ |
| 1466 | var expected_ bool = true |
| 1467 | /* 'zzz' > r.expr(null) */ |
| 1468 | |
| 1469 | suite.T().Log("About to run line #451: r.Gt('zzz', r.Expr(nil))") |
| 1470 | |
| 1471 | runAndAssert(suite.Suite, expected_, r.Gt("zzz", r.Expr(nil)), suite.session, r.RunOpts{ |
| 1472 | GeometryFormat: "raw", |
| 1473 | GroupFormat: "map", |
| 1474 | }) |
| 1475 | suite.T().Log("Finished running line #451") |
| 1476 | } |
| 1477 | |
| 1478 | { |
| 1479 | // math_logic/comparison.yaml line #456 |
| 1480 | /* true */ |
| 1481 | var expected_ bool = true |
| 1482 | /* 'zzz' > r.expr([]) */ |
| 1483 | |
| 1484 | suite.T().Log("About to run line #456: r.Gt('zzz', r.Expr([]interface{}{}))") |
| 1485 | |
| 1486 | runAndAssert(suite.Suite, expected_, r.Gt("zzz", r.Expr([]interface{}{})), suite.session, r.RunOpts{ |
| 1487 | GeometryFormat: "raw", |
| 1488 | GroupFormat: "map", |
| 1489 | }) |
| 1490 | suite.T().Log("Finished running line #456") |
| 1491 | } |
| 1492 | |
| 1493 | // math_logic/comparison.yaml line #463 |
| 1494 | // everything2 = r.expr([r.minval,[],r.now(),r.binary(b"\x00"),false,null,-5,{},"a"]) |
| 1495 | suite.T().Log("Possibly executing: var everything2 r.Term = r.Expr([]interface{}{r.MinVal, []interface{}{}, r.Now(), r.Binary([]byte{0}), false, nil, -5, map[interface{}]interface{}{}, 'a'})") |
| 1496 | |
| 1497 | everything2 := r.Expr([]interface{}{r.MinVal, []interface{}{}, r.Now(), r.Binary([]byte{0}), false, nil, -5, map[interface{}]interface{}{}, "a"}) |
| 1498 | _ = everything2 // Prevent any noused variable errors |
| 1499 | |
| 1500 | { |
| 1501 | // math_logic/comparison.yaml line #467 |
| 1502 | /* true */ |
| 1503 | var expected_ bool = true |
| 1504 | /* r.and_(r.args(everything2.map(r.gt(r.maxval, r.row)))) */ |
| 1505 | |
| 1506 | suite.T().Log("About to run line #467: r.And(r.Args(everything2.Map(r.Gt(r.MaxVal, r.Row))))") |
| 1507 | |
| 1508 | runAndAssert(suite.Suite, expected_, r.And(r.Args(everything2.Map(r.Gt(r.MaxVal, r.Row)))), suite.session, r.RunOpts{ |
| 1509 | GeometryFormat: "raw", |
| 1510 | GroupFormat: "map", |
| 1511 | }) |
| 1512 | suite.T().Log("Finished running line #467") |
| 1513 | } |
| 1514 | |
| 1515 | { |
| 1516 | // math_logic/comparison.yaml line #472 |
| 1517 | /* false */ |
| 1518 | var expected_ bool = false |
| 1519 | /* r.or_(r.args(everything2.map(r.lt(r.maxval, r.row)))) */ |
| 1520 | |
| 1521 | suite.T().Log("About to run line #472: r.Or(r.Args(everything2.Map(r.Lt(r.MaxVal, r.Row))))") |
| 1522 | |
| 1523 | runAndAssert(suite.Suite, expected_, r.Or(r.Args(everything2.Map(r.Lt(r.MaxVal, r.Row)))), suite.session, r.RunOpts{ |
| 1524 | GeometryFormat: "raw", |
| 1525 | GroupFormat: "map", |
| 1526 | }) |
| 1527 | suite.T().Log("Finished running line #472") |
| 1528 | } |
| 1529 | |
| 1530 | { |
| 1531 | // math_logic/comparison.yaml line #476 |
| 1532 | /* true */ |
| 1533 | var expected_ bool = true |
| 1534 | /* r.eq(r.maxval, r.maxval) */ |
| 1535 | |
| 1536 | suite.T().Log("About to run line #476: r.Eq(r.MaxVal, r.MaxVal)") |
| 1537 | |
| 1538 | runAndAssert(suite.Suite, expected_, r.Eq(r.MaxVal, r.MaxVal), suite.session, r.RunOpts{ |
| 1539 | GeometryFormat: "raw", |
| 1540 | GroupFormat: "map", |
| 1541 | }) |
| 1542 | suite.T().Log("Finished running line #476") |
| 1543 | } |
| 1544 | } |