cginternals / libzeug

deprecated: C++ sanctuary for small but powerful and frequently required, stand alone features.
MIT License
16 stars 13 forks source link

Scriptzeug tests #105

Closed lanice closed 9 years ago

lanice commented 9 years ago

This adds tests for scriptzeug.

lanice commented 9 years ago

Thanks for the feedback! I moved some initialization code into the SetUp() method and divided the type tests into one test for every type, with getter and setter. I also splitted the one big test case file into two test cases, one which contains only the type tests, and one which contains the general scripting tests, like calling ScriptContext::evaluate(), error handling, and testing registered object methods and sub-object methods.

mjendruk commented 9 years ago

Much better now. :shipit: