parent
0c3af38c3e
commit
26010807db
2 changed files with 0 additions and 23 deletions
@ -1,12 +0,0 @@ |
|||||||
project('C# pkg-config', 'cs') |
|
||||||
|
|
||||||
nunit_dep = dependency('nunit', required : false) |
|
||||||
|
|
||||||
if not nunit_dep.found() |
|
||||||
error('MESON_SKIP_TEST nunit not found.') |
|
||||||
endif |
|
||||||
|
|
||||||
nunit_runner = find_program('nunit-console') |
|
||||||
|
|
||||||
test_lib = library('test_lib', 'test-lib.cs', dependencies: nunit_dep) |
|
||||||
test('nunit test', nunit_runner, args: test_lib) |
|
@ -1,11 +0,0 @@ |
|||||||
using NUnit.Framework; |
|
||||||
|
|
||||||
[TestFixture] |
|
||||||
public class NUnitTest |
|
||||||
{ |
|
||||||
[Test] |
|
||||||
public void Test() |
|
||||||
{ |
|
||||||
Assert.AreEqual(1 + 1, 2); |
|
||||||
} |
|
||||||
} |
|
Loading…
Reference in new issue