File: patch.cpp

package info (click to toggle)
giada 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,516 kB
  • sloc: cpp: 30,620; sh: 144; xml: 66; makefile: 55; ansic: 1
file content (15 lines) | stat: -rw-r--r-- 237 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "../src/core/patch.h"
#include <catch2/catch_test_macros.hpp>

TEST_CASE("Patch")
{
	using namespace giada;

	SECTION("version")
	{
		Patch patch;
		patch.version = {0, 16, 0};

		REQUIRE(patch.version < Version{1, 0, 0});
	}
}