Files
dcnsanplanung/dcnsanplanung.bewertungTests/BewM149Tests.cs

30 lines
709 B
C#

using Microsoft.VisualStudio.TestTools.UnitTesting;
using dcnsanplanung.bewertung;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace dcnsanplanung.bewertung.Tests
{
[TestClass()]
public class BewM149Tests
{
[TestMethod()]
public void BewM149Test()
{
var t = BewM149.Klassifiziere("BAB", "B", "A", "10", "10", 0);
}
[TestMethod()]
public void SXjTest()
{
Assert.AreEqual(0, BewM149.SXj(5,2.5f));
Assert.AreEqual(7.5, BewM149.SXj(2, 2.5f));
Assert.AreEqual(5, BewM149.SXj(3, 2.5f));
}
}
}