Lines Matching refs:PythonInteger
175 // Test that integers behave correctly when wrapped by a PythonInteger.
177 // Verify that `PythonInteger` works correctly when given a PyLong object.
179 EXPECT_TRUE(PythonInteger::Check(py_long));
180 PythonInteger python_long(PyRefType::Owned, py_long);
188 // Test that creating a `PythonInteger` object works correctly with the
190 PythonInteger constructed_int(7);
280 PythonInteger integer(7);
290 PythonInteger integer(-42);
318 list_items[0] = PythonInteger(long_value0);
330 EXPECT_TRUE(PythonInteger::Check(chk_value1.get()));
333 PythonInteger chk_int(PyRefType::Borrowed, chk_value1.get());
349 PythonInteger integer(long_value0);
359 EXPECT_TRUE(PythonInteger::Check(chk_value1.get()));
362 PythonInteger chk_int(PyRefType::Borrowed, chk_value1.get());
375 list.AppendItem(PythonInteger(long_value0));
402 PythonInteger int_value(1);
416 PythonInteger int_value(1);
428 PythonInteger int_value(1);
441 PythonInteger int_value(1);
467 py_keys[1] = PythonInteger(key_1);
468 py_values[0] = PythonInteger(value_0);
483 EXPECT_TRUE(PythonInteger::Check(chk_value1.get()));
508 values[0] = PythonInteger(value_0);
523 EXPECT_TRUE(PythonInteger::Check(chk_value1.get()));
542 dict.SetItemForKey(PythonString(string_key1), PythonInteger(int_value1));
567 PythonInteger one(1);
592 PythonInteger py_int(42);
606 PythonInteger python_ull_value(PyRefType::Owned,