Skip to content
Snippets Groups Projects

Main

Closed Maren.Solvag requested to merge Maren.Solvag/oblig3-myfs:main into main
9 files
+ 750
5
Compare changes
  • Side-by-side
  • Inline
Files
9
+ 6
5
from myfs import format, save, load, copy, remove, hard_link, NoFile
from myfs_3 import format, save, load, copy, remove, hard_link, NoFile
import sys
if len(sys.argv) < 2:
@@ -53,6 +53,7 @@ def test_2():
format(f)
save(f, "test.txt", test_sample)
content = load(f, "test.txt")
#content = content.decode('utf-8')
assert content == test_sample
@@ -102,7 +103,7 @@ print(f"* Use xxd {backingfile} to inspect contents")
print("*" * 60)
print()
# test_1()
# test_2()
# test_3()
# test_4()
test_1()
test_2()
test_3()
#test_4()
Loading