Skip to content

Commit 2d7346f

Browse files
committed
modified tests
1 parent 1c289d1 commit 2d7346f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

tests/benchmark.ipynb

+3-2
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,11 @@
8181
],
8282
"source": [
8383
"methdos = ['six.bubble', 'six.heap', 'six.insert', 'six.merge', 'six.quick', 'six.shell', 'list.sort()']\n",
84+
"times = [67.49558138847351, 0.320293664932251, 0.43234682083129883, 0.15800857543945312, 1.21272611618042, 0.07055068016052246, 0.003704547882080078]\n",
8485
"for i in range(1, 7):\n",
8586
" plt.bar(methdos[i], times[i])\n",
8687
" \n",
87-
"plt.title(\"Sort by Two Keywords whitin Data Scale at 1000 * 10000\")\n",
88+
"plt.title(\"Sort by Two Keywords within Data Scale at 1000 * 10000\")\n",
8889
"plt.xlabel(\"name\")\n",
8990
"plt.ylabel(\"time/s\")\n",
9091
" \n",
@@ -139,7 +140,7 @@
139140
"for i in range(6):\n",
140141
" plt.bar(methdos[i], memeorys[i])\n",
141142
" \n",
142-
"plt.title(\"Sort by Two Keywords whitin Data Scale at 1000 * 10000\")\n",
143+
"plt.title(\"Sort by Two Keywords within Data Scale at 1000 * 10000\")\n",
143144
"plt.xlabel(\"name\")\n",
144145
"plt.ylabel(\"memory / KB\")\n",
145146
"\n",

tests/pictures/test_memory.png

-49 Bytes
Loading

tests/pictures/test_time.png

-55 Bytes
Loading

0 commit comments

Comments
 (0)