tests
Class TestAlignement
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
tests.TestAlignement
- All Implemented Interfaces:
- junit.framework.Test
public class TestAlignement
- extends junit.framework.TestCase
Test class about modele.Alignement class.
Some factorization was useful because of max size of memory of JVM
and make easier to understand some tests when are opposite tests.
Some tests here are a little bit long because of
matrix constructions and comparisons, not others way to do these tests.
Nucleotids T and U are considered as same (AU == AT for example).
getPalindrome(score) and getPalindrome(i,j) are not tested : useless ?!
Tests with true sequences would be interesting :
if you see this comment it may not be implemented yet, buts it's easy to do !
- Author:
- Gabriel Chandesris (2008)
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
basetest1
private Alignement basetest1
basetest2
private Alignement basetest2
sequence1
private Sequence sequence1
sequence2
private Sequence sequence2
TestAlignement
public TestAlignement()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class junit.framework.TestCase
- Throws:
java.lang.Exception
testEqualsSequenceListeFalseUn
public void testEqualsSequenceListeFalseUn()
testEqualsSequenceListeFalseDe
public void testEqualsSequenceListeFalseDe()
testEqualsSequenceListeTrueUn
public void testEqualsSequenceListeTrueUn()
testEqualsSequenceListeTrueDe
public void testEqualsSequenceListeTrueDe()
testGetSequence1UnTrue
public void testGetSequence1UnTrue()
testGetSequence1UnFalse
public void testGetSequence1UnFalse()
testGetSequence1DeTrue
public void testGetSequence1DeTrue()
testGetSequence1DeFalse
public void testGetSequence1DeFalse()
testGetSequence2UnTrue
public void testGetSequence2UnTrue()
testGetSequence2UnFalse
public void testGetSequence2UnFalse()
testGetSequence2DeTrue
public void testGetSequence2DeTrue()
testGetSequence2DeFalse
public void testGetSequence2DeFalse()
testGetLpmin01
public void testGetLpmin01()
testGetLpmin02
public void testGetLpmin02()
testGetLpmin03
public void testGetLpmin03()
testSetLpmin
public void testSetLpmin()
testGetLbmin01
public void testGetLbmin01()
testGetLbmin02
public void testGetLbmin02()
testGetLbmin03
public void testGetLbmin03()
testSetLbmin
public void testSetLbmin()
testGetHasSameSequenceTrue1
public void testGetHasSameSequenceTrue1()
testGetHasSameSequenceTrue2
public void testGetHasSameSequenceTrue2()
testGetHasSameSequenceFalse1
public void testGetHasSameSequenceFalse1()
testGetHasSameSequenceFalse2
public void testGetHasSameSequenceFalse2()
testScoreAUandUA
public void testScoreAUandUA()
testScoreUGandGU
public void testScoreUGandGU()
testScoreGCandCG
public void testScoreGCandCG()
testScoreXX
public void testScoreXX()
testScoreBaseGap
public void testScoreBaseGap()
testScoreGapBase
public void testScoreGapBase()
testScoreNullCombination
public void testScoreNullCombination()
testScoreR5GUYRthenGU
public void testScoreR5GUYRthenGU()
testScoreNOTR5GURYthenGUorUG
public void testScoreNOTR5GURYthenGUorUG()
testScoreNOTR5GUYRthenGU
public void testScoreNOTR5GUYRthenGU()
testScoreAAthenHelixAUorUA
public void testScoreAAthenHelixAUorUA()
- Not [...] because of impact before helix
testScoreAAthenHelixGU
public void testScoreAAthenHelixGU()
testScoreAAthenHelixUG
public void testScoreAAthenHelixUG()
testScoreAAthenHelixGCorCG
public void testScoreAAthenHelixGCorCG()
testScoreGAthenHelixAUorUA
public void testScoreGAthenHelixAUorUA()
testScoreGAthenHelixGU
public void testScoreGAthenHelixGU()
testScoreGAthenHelixUG
public void testScoreGAthenHelixUG()
testScoreGAthenHelixGCorCG
public void testScoreGAthenHelixGCorCG()
testScoreNOTHINGthenHelixAUorUA
public void testScoreNOTHINGthenHelixAUorUA()
testScoreNOTHINGthenHelixGCorCG
public void testScoreNOTHINGthenHelixGCorCG()
testScoreNOTHINGthenHelixGU
public void testScoreNOTHINGthenHelixGU()
testScoreNOTHINGthenHelixUG
public void testScoreNOTHINGthenHelixUG()
testMaxInt1
public void testMaxInt1()
testMaxInt2
public void testMaxInt2()
testMaxInt3
public void testMaxInt3()
testMaxInt4
public void testMaxInt4()
testGetMatriceUn
public void testGetMatriceUn()
testGetMatriceDe
public void testGetMatriceDe()
testGetMatriceScoreUn
public void testGetMatriceScoreUn()
testGetMatriceScoreDe
public void testGetMatriceScoreDe()
testIsGoodPalindrome01
public void testIsGoodPalindrome01()
testIsGoodPalindrome02
public void testIsGoodPalindrome02()
testIsGoodPalindrome03
public void testIsGoodPalindrome03()
testIsGoodPalindrome04
public void testIsGoodPalindrome04()
testIsGoodPalindrome05
public void testIsGoodPalindrome05()
testIsGoodPalindrome06
public void testIsGoodPalindrome06()
testIsGoodPalindrome07
public void testIsGoodPalindrome07()
testIsGoodPalindrome08
public void testIsGoodPalindrome08()
testIsGoodPalindrome09
public void testIsGoodPalindrome09()
testIsGoodPalindrome10
public void testIsGoodPalindrome10()
testIsGoodPalindrome11
public void testIsGoodPalindrome11()
testIsGoodPalindrome12
public void testIsGoodPalindrome12()
testIsGoodPalindrome13
public void testIsGoodPalindrome13()
testGeneral01
public void testGeneral01()
testGetPalindromesREALecolivchol
public void testGetPalindromesREALecolivchol()
testGetPalindromesREALecolihainf
public void testGetPalindromesREALecolihainf()