mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 17:52:17 +00:00
Added new tests
[SVN r8196]
This commit is contained in:
@@ -906,6 +906,19 @@ test methodologies for wrapping functions that return a pointer
|
||||
In this methodology, the referent is copied
|
||||
>>> get_record() == get_record()
|
||||
0
|
||||
|
||||
======== Enums and non-method class attributes ==============
|
||||
>>> eo = EnumOwner(EnumOwner.one, EnumOwner.two)
|
||||
>>> eo.first
|
||||
1
|
||||
>>> eo.second
|
||||
2
|
||||
>>> eo.first = EnumOwner.three
|
||||
>>> eo.second = EnumOwner.one
|
||||
>>> eo.first
|
||||
3
|
||||
>>> eo.second
|
||||
1
|
||||
'''
|
||||
|
||||
from demo import *
|
||||
|
||||
Reference in New Issue
Block a user