Skip to content
Snippets Groups Projects
test.cpp 178 B
Newer Older
Jacek Galowicz's avatar
Jacek Galowicz committed
#include <calc.hpp>

#include <catch2/catch.hpp>

TEST_CASE( "some example calculations", "[calc]") {
  REQUIRE( evaluate("11+") == 2 );
  REQUIRE( evaluate("12+2-3*") == 3 );
}