alashworth / test-issue-import

0 stars 0 forks source link

refactor, build out generator tests #128

Open alashworth opened 5 years ago

alashworth commented 5 years ago

Issue by mitzimorris Sunday Jan 22, 2017 at 18:59 GMT Originally opened as https://github.com/stan-dev/stan/issues/2209


Summary:

Please provide a short couple sentence summary. Unit tests for stan/lang/generator should be refactored/augmented

Description:

Describe the issue as clearly as possible. Work done for #2204 refactored monolithic stan/lang/generator.hpp into directory of components. The unit tests should be refactored to match. More tests should be added to check layout and readability of generated code. Generated code should be properly indented, max one statement per line.

Reproducible Steps:

Please report steps to reproduce the issue. If it's not possible to reproduce, please include a description of how you discovered the issue.

If you have a reproducible example, please include it.

Current Output:

The current output. Knowing what is the current behavior is useful.

Expected Output:

Describe what you expect the output to be. Knowing the correct behavior is also very useful.

Additional Information:

Provide any additional information here.

Current Version:

v2.14.0