@@ -0,0 +1,2353 @@
+from panda3d.core import UpdateSeq%0A%0A%0Adef test_updateseq_initial():%0A    seq = UpdateSeq()%0A    assert seq == UpdateSeq.initial()%0A%0A    assert seq.is_special()%0A    assert seq.is_initial()%0A    assert not seq.is_old()%0A    assert not seq.is_fresh()%0A%0A    assert seq.seq == 0%0A%0A    initial = UpdateSeq.initial()%0A    assert seq == initial%0A    assert seq %3E= initial%0A    assert seq %3C= initial%0A    assert not (seq != initial)%0A    assert not (seq %3E initial)%0A    assert not (seq %3C initial)%0A%0A    fresh = UpdateSeq.fresh()%0A    assert not (seq == fresh)%0A    assert not (seq %3E= fresh)%0A    assert seq %3C= fresh%0A    assert seq != fresh%0A    assert not (seq %3E fresh)%0A    assert seq %3C fresh%0A%0A    old = UpdateSeq.old()%0A    assert not (seq == old)%0A    assert not (seq %3E= old)%0A    assert not (seq %3E old)%0A    assert seq != old%0A    assert seq %3C= old%0A    assert seq %3C old%0A%0A%0Adef test_updateseq_fresh():%0A    seq = UpdateSeq.fresh()%0A%0A    assert seq.is_special()%0A    assert not seq.is_initial()%0A    assert not seq.is_old()%0A    assert seq.is_fresh()%0A%0A    initial = UpdateSeq.initial()%0A    assert not (seq == initial)%0A    assert seq != initial%0A    assert seq %3E initial%0A    assert seq %3E= initial%0A    assert not (seq %3C initial)%0A    assert not (seq %3C= initial)%0A%0A    fresh = UpdateSeq.fresh()%0A    assert seq == fresh%0A    assert seq %3E= fresh%0A    assert seq %3C= fresh%0A    assert not (seq != fresh)%0A    assert not (seq %3E fresh)%0A    assert not (seq %3C fresh)%0A%0A    old = UpdateSeq.old()%0A    assert not (seq == old)%0A    assert not (seq %3E= old)%0A    assert not (seq %3E old)%0A    assert seq != old%0A    assert seq %3C= old%0A    assert seq %3C old%0A%0A%0Adef test_updateseq_old():%0A    seq = UpdateSeq.old()%0A%0A    assert seq.is_special()%0A    assert not seq.is_initial()%0A    assert seq.is_old()%0A    assert not seq.is_fresh()%0A%0A    assert seq.seq == 1%0A%0A    initial = UpdateSeq.initial()%0A    assert not (seq == initial)%0A    assert not (seq %3C= initial)%0A    assert not (seq %3C initial)%0A    assert seq != initial%0A    assert seq %3E initial%0A    assert seq %3E= initial%0A%0A    fresh = UpdateSeq.fresh()%0A    assert not (seq == fresh)%0A    assert not (seq %3E= fresh)%0A    assert not (seq %3E fresh)%0A    assert seq %3C= fresh%0A    assert seq != fresh%0A    assert seq %3C fresh%0A%0A    old = UpdateSeq.old()%0A    assert seq == old%0A    assert seq %3E= old%0A    assert seq %3C= old%0A    assert not (seq != old)%0A    assert not (seq %3E old)%0A    assert not (seq %3C old)%0A

add some unit tests for UpdateSeq