doc/classes/TestDOSDisks.src/M000017.html in dsktool-0.2.1 vs doc/classes/TestDOSDisks.src/M000017.html in dsktool-0.4.1

- old
+ new

@@ -3,17 +3,20 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>test_empty_dsk (TestDOSDisks)</title> + <title>test_free_sector_list (TestDOSDisks)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> - <pre><span class="ruby-comment cmt"># File test/tc_dos_disks.rb, line 34</span> - <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_empty_dsk</span> - <span class="ruby-identifier">dsk</span>=<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">new</span>() - <span class="ruby-identifier">assert</span>(<span class="ruby-operator">!</span><span class="ruby-identifier">dsk</span>.<span class="ruby-identifier">is_dos33?</span>,<span class="ruby-value str">&quot;empty DSK should not be DOS 3.3 format&quot;</span>) - <span class="ruby-keyword kw">end</span></pre> + <pre><span class="ruby-comment cmt"># File test/backup/tc_dos_disks.rb, line 56</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_free_sector_list</span> + <span class="ruby-identifier">dskname</span>=<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-keyword kw">__FILE__</span>)<span class="ruby-operator">+</span><span class="ruby-value str">&quot;//white_11a.dsk&quot;</span> + <span class="ruby-identifier">dsk</span>=<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">dskname</span>) + <span class="ruby-identifier">assert_equal</span>(<span class="ruby-identifier">:dos</span>,<span class="ruby-identifier">dsk</span>.<span class="ruby-identifier">file_system</span>,<span class="ruby-node">&quot;#{dskname} should be DOS 3.3 format&quot;</span>) + <span class="ruby-identifier">assert</span>(<span class="ruby-identifier">dsk</span>.<span class="ruby-identifier">files</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">&gt;</span><span class="ruby-value">0</span>,<span class="ruby-node">&quot;#{dskname} should have at least one file&quot;</span>) + <span class="ruby-identifier">assert</span>(<span class="ruby-operator">!</span><span class="ruby-identifier">dsk</span>.<span class="ruby-identifier">free_sector_list</span>.<span class="ruby-identifier">nil?</span>,<span class="ruby-value str">&quot;should have at least 1 free sector&quot;</span>) + <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file