Generation

testsWed, 22 Feb 2023

def filewrite(name): fp=fopen("pi.txt","w") fp.write("line")

python import unittest class testfwrite(unittest.TestCase): def test_fwrite(self): self.assertEqual(filewrite("pi.txt"), "line")

Want to kickstart your project?Use the new AI Studio to create your code