Sha256: ef06cd6615cc34a2b34226389857f64f521fcacea898da86d8465769ea1978af
Contents?: true
Size: 1.97 KB
Versions: 5
Compression:
Stored size: 1.97 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>test_file_names (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 11</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_file_names</span> <span class="ruby-identifier">assert</span>(<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">is_dsk_file?</span>(<span class="ruby-value str">"file.dsk"</span>)) <span class="ruby-identifier">assert</span>(<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">is_dsk_file?</span>(<span class="ruby-value str">"file.DSK"</span>)) <span class="ruby-identifier">assert</span>(<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">is_dsk_file?</span>(<span class="ruby-value str">"file.dsk.gz"</span>)) <span class="ruby-identifier">assert</span>(<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">is_dsk_file?</span>(<span class="ruby-value str">"file.po"</span>)) <span class="ruby-identifier">assert</span>(<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">is_dsk_file?</span>(<span class="ruby-value str">"file.po.gz"</span>)) <span class="ruby-identifier">assert</span>(<span class="ruby-operator">!</span><span class="ruby-constant">DSK</span>.<span class="ruby-identifier">is_dsk_file?</span>(<span class="ruby-value str">"file.dsk.zip"</span>)) <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
5 entries across 2 versions & 1 rubygems