Add project files.
This commit is contained in:
28
NUnitTest/UnitTest1.cs
Normal file
28
NUnitTest/UnitTest1.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using Test261005Feladat;
|
||||
|
||||
namespace NUnitTest
|
||||
{
|
||||
public class Tests
|
||||
{
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
{
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void Test1()
|
||||
{
|
||||
|
||||
|
||||
DataRecord dr = new DataRecord("Adam,7");
|
||||
|
||||
if(dr.getSquaredValue() == dr.ertek*dr.ertek)
|
||||
{
|
||||
Assert.Pass();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user