Testowanie. Testy jednostkowe
Testowanie. Testy jednostkowe
Testowanie. Testy jednostkowe
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Testowanie</strong> oprogramowania<br />
<strong>Testy</strong> akceptacyjne<br />
Wytwarzanie sterowane testami<br />
Wprowadzenie<br />
<strong>Testy</strong> <strong>jednostkowe</strong><br />
Technologia testowania <strong>jednostkowe</strong>go<br />
[Test()]<br />
public void TestEmpty()<br />
{<br />
Stos s = new Zwinne.Stos();<br />
Assert.AreEqual(s.isEmpty(), true);<br />
}<br />
[Test()]<br />
public void TestPush()<br />
{<br />
Stos s = new Zwinne.Stos();<br />
s.push(1024);<br />
Assert.AreEqual(s.pop(), 1024);<br />
}<br />
Marcin Młotkowski Programowanie zwinne 18 / 34<br />
[TestFixture()]<br />
public class <strong>Testowanie</strong>Stosu<br />
{