From ba3fdc33ccec680d31eccdbf534c10196bc13863 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sat, 14 Oct 2023 20:43:41 +0200 Subject: [PATCH] update reference files --- tests/reference_files/John_Doe_CV.tex | 44 +++++++++++++++++++++------ tests/test_rendering.py | 2 +- 2 files changed, 35 insertions(+), 11 deletions(-) diff --git a/tests/reference_files/John_Doe_CV.tex b/tests/reference_files/John_Doe_CV.tex index 47f4c32..8ba26e4 100644 --- a/tests/reference_files/John_Doe_CV.tex +++ b/tests/reference_files/John_Doe_CV.tex @@ -131,6 +131,7 @@ \section{Education} + \begin{tabularx}{\textwidth}{p{0.55cm} K{0.2 cm} R{3.6 cm}} \textbf{BS} & @@ -159,7 +160,9 @@ \end{tabularx} + \section{Work Experience} + \begin{tabularx}{\textwidth}{K{0.2 cm} R{3.6 cm}} \textbf{Company 1}, Position 1 \vspace*{0.12 cm} @@ -170,8 +173,7 @@ \end{highlights} & Geneva, Switzerland \hspace*{-0.2cm + 0.2 cm} \newline - Feb. 2023 to present \hspace*{-0.2cm + 0.2 cm} \newline - 8 months \hspace*{-0.2cm + 0.2 cm} + Feb. 2023 to present \hspace*{-0.2cm + 0.2 cm} \end{tabularx} \vspace*{0.12 cm} @@ -186,12 +188,13 @@ \end{highlights} & Geneva, Switzerland \hspace*{-0.2cm + 0.2 cm} \newline - Feb. 1986 to Feb. 2023 \hspace*{-0.2cm + 0.2 cm} \newline - 37 years 1 month \hspace*{-0.2cm + 0.2 cm} + Feb. 1986 to Feb. 2023 \hspace*{-0.2cm + 0.2 cm} \end{tabularx} + \section{Academic Projects} + \begin{tabularx}{\textwidth}{K{0.2 cm} R{3.6 cm}} \textbf{Academic Project 1}, \hrefExternal{https://example.com/}{view on my website} \vspace*{0.12 cm} @@ -231,7 +234,9 @@ \end{tabularx} + \section{Certificates} + \begin{tabularx}{\textwidth}{K{0.2 cm} R{3.6 cm}} \textbf{Certificate 1} \vspace*{0.12 cm} @@ -239,7 +244,9 @@ \end{tabularx} + \section{Personal Projects} + \begin{tabularx}{\textwidth}{K{0.2 cm} R{3.6 cm}} \textbf{Personal Project 1} \vspace*{0.12 cm} @@ -247,39 +254,53 @@ \end{tabularx} + \section{Skills} - \setlength{\leftskip}{0.2cm} + + \setlength{\leftskip}{0.2 cm} + \setlength{\rightskip}{0.2 cm} \textbf{Programming:} C++, C, Python, JavaScript, MATLAB, Lua, LaTeX \setlength{\leftskip}{0cm} + \setlength{\rightskip}{0cm} \vspace*{0.12 cm} - \setlength{\leftskip}{0.2cm} + \setlength{\leftskip}{0.2 cm} + \setlength{\rightskip}{0.2 cm} \textbf{CAE:} GMSH, GetDP, CalculiX \setlength{\leftskip}{0cm} + \setlength{\rightskip}{0cm} + \section{Test Scores} - \setlength{\leftskip}{0.2cm} + + \setlength{\leftskip}{0.2 cm} + \setlength{\rightskip}{0.2 cm} \textbf{TOEFL:} 120/120 \setlength{\leftskip}{0cm} + \setlength{\rightskip}{0cm} \vspace*{0.12 cm} - \setlength{\leftskip}{0.2cm} + \setlength{\leftskip}{0.2 cm} + \setlength{\rightskip}{0.2 cm} - \textbf{IELTS:} 9.0/9.0 (\hrefExternal{https://example.com/}{view on my website}) + \textbf{IELTS:} 9.0/9.0 (\hrefExternal{https://example.com/}{Score Report}) \setlength{\leftskip}{0cm} + \setlength{\rightskip}{0cm} + \section{Extracurricular Activities} + \begin{tabularx}{\textwidth}{K{0.2 cm} R{3.6 cm}} \textbf{Test Company 1}, Test Position 1 \vspace*{0.12 cm} @@ -305,8 +326,10 @@ \end{tabularx} + \section{Publications} - \begin{tabularx}{\textwidth}{K{0.2 cm} R{2 cm}} + + \begin{tabularx}{\textwidth}{K{0.2 cm} R{3.6 cm}} \textbf{Phononic band gaps induced by inertial amplification in periodic media} Cetin Yilmaz, Gregory M Hulbert, Noboru Kikuchi @@ -318,4 +341,5 @@ + \end{document} \ No newline at end of file diff --git a/tests/test_rendering.py b/tests/test_rendering.py index dca195e..73a7a7d 100644 --- a/tests/test_rendering.py +++ b/tests/test_rendering.py @@ -7,7 +7,7 @@ import shutil from rendercv import rendering, data_model -class TestDataModel(unittest.TestCase): +class TestRendering(unittest.TestCase): def test_markdown_to_latex(self): input = "[link](www.example.com)" expected = r"\hrefExternal{www.example.com}{link}"