ProjectUnifree / unifree

MIT License
1.43k stars 75 forks source link

[Unit Tests] Better test for `code_extrators::extract_header_implementation` #9

Open bshikin opened 12 months ago

bshikin commented 12 months ago

ChatGptMixin::extract_header_implementation doesn't test a case when ChatGPT doesn't split header/implementation at all

just-in-chang commented 11 months ago

@bshikin I can take this! By not splitting the header/implementations, do you mean like this (same code block):

// Header.h
{header code}

// Implementation.cpp
{implementation code}

or this (no comments)?

{header code}
{implementation code}

If the latter, what is the intended behavior? should all of the code just be returned in the header?