add_executable(csstest csstest.cpp )
target_link_libraries(csstest htmlpp)
#
add_test(csstest csstest)

add_executable(htmlpagetest htmlpagetest.cpp)
target_link_libraries(htmlpagetest htmlpp-static)

add_test(htmlpagetest_right htmlpagetest ${CMAKE_SOURCE_DIR}/test/htmlfiles/html4.html)
add_test(htmlpagetest_right_2 htmlpagetest ${CMAKE_SOURCE_DIR}/test/htmlfiles/right.html)
add_test(htmlpagetest_right_3 htmlpagetest ${CMAKE_SOURCE_DIR}/test/htmlfiles/wrong.html)

add_executable(htmlcopytest htmlcopytest.cpp)
target_link_libraries(htmlcopytest htmlpp-static)

add_test(htmlcopytest_right htmlcopytest ${CMAKE_SOURCE_DIR}/test/htmlfiles/right.html)

add_executable(htmlinserttest htmlinserttest.cpp)
target_link_libraries(htmlinserttest htmlpp-static)

add_executable(htmlostreamtest ostream.cpp)
target_link_libraries(htmlostreamtest htmlpp-static)

add_test(htmlostreamtest htmlostreamtest ${CMAKE_SOURCE_DIR}/test/htmlfiles/right.html)
