2
0
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:
Dave Abrahams
2000-11-12 22:39:52 +00:00
parent c4c9347711
commit 52e9d5d531

View File

@@ -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 *