summary refs log tree commit diff stats
path: root/test/tc_history.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_history.py')
-rw-r--r--test/tc_history.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/tc_history.py b/test/tc_history.py
index 33784e14..b1161f2a 100644
--- a/test/tc_history.py
+++ b/test/tc_history.py
@@ -54,4 +54,23 @@ class Test(TestCase):
 		self.assertEqual(4, hist.bottom())
 		self.assertEqual([4,5,6], list(hist))
 
+		hist.back()
+		hist.fast_forward()
+		self.assertEqual([4,5,6], list(hist))
+		hist.back()
+		hist.back()
+		hist.fast_forward()
+		self.assertEqual([4,5,6], list(hist))
+		hist.back()
+		hist.back()
+		hist.back()
+		hist.fast_forward()
+		self.assertEqual([4,5,6], list(hist))
+		hist.back()
+		hist.back()
+		hist.back()
+		hist.back()
+		hist.fast_forward()
+		self.assertEqual([4,5,6], list(hist))
+
 if __name__ == '__main__': main()
>4eb0f14a ^
30b5f112 ^
4eb0f14a ^
cce01f1d ^
4eb0f14a ^
30b5f112 ^
8413020a ^
216493ef ^









5bccee93 ^
abc2f0de ^
cf80fdc3 ^
97d96746 ^
e58be44f ^
519b10d1 ^
f91b21a1 ^
2bda22c3 ^
a00095c8 ^
2bda22c3 ^
a00095c8 ^
27adf031 ^

30b5f112 ^


446027b9 ^
93358d5e ^
fb7001cf ^
72c1c496 ^
bab75cae ^
d3cc5bd7 ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65