Open-RPG/Pine-Server — pull request #2 by qimingfang (2013-11-09 10:25:54+00:00)
Title: Add preliminary test cases

I think it'd be good to have some test cases going forward. Will make development faster since things won't be breaking as much.

I think it'd also be good to modify the existing code base a bit into testable modules - like try to separate from the server logic from the rendering logic. For example, I modified some of the server code to not do

renderings but rather pass the data back as a json for the web client to handle. This makes the code a bit more testable :)