main.cpp 1.1 KB

12345678910111213141516171819202122
  1. /* ************************************************************************** */
  2. /* */
  3. /* ::: :::::::: */
  4. /* main.cpp :+: :+: :+: */
  5. /* +:+ +:+ +:+ */
  6. /* By: bchanot <bchanot@42.fr> +#+ +:+ +#+ */
  7. /* +#+#+#+#+#+ +#+ */
  8. /* Created: 2026/01/13 17:54:18 by bchanot #+# #+# */
  9. /* Updated: 2026/01/14 16:18:52 by bchanot ### ########.fr */
  10. /* */
  11. /* ************************************************************************** */
  12. #include "Span.hpp"
  13. int main(void)
  14. {
  15. Span sp = Span(500);
  16. sp.fullFillSpan();
  17. std::cout << sp.shortestSpan() << std::endl;
  18. std::cout << sp.longestSpan() << std::endl;
  19. return 0;
  20. }