Commit 4ec7576e authored by Zed's avatar Zed

S4 setup for the class.

parent c59070d7
......@@ -28,3 +28,19 @@ Features
* Encapsulation
Running The Tests
====
First you do:
```
export PYTHONPATH=.
```
Then you can do:
```
python3 test_oop.py
```
The test passes if you get NO output.
......@@ -65,3 +65,9 @@ def test_inheritance():
mycar = new(Buick, 'green')
Buick.drive(mycar)
test_new()
test_new_class_no_getset()
test_obj_methods()
test_inheritance()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment