File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- classdef (SharedTestFixtures = {downloadGPT2Fixture }) tdownload < matlab .unittest .TestCase
1+ classdef (SharedTestFixtures = {DownloadGPT2Fixture }) tdownload < matlab .unittest .TestCase
22 % tdownload Tests for gpt2.download
33
44 % Copyright 2020 The MathWorks, Inc.
Original file line number Diff line number Diff line change 1- classdef (SharedTestFixtures = {downloadGPT2Fixture }) tload < matlab .unittest .TestCase
1+ classdef (SharedTestFixtures = {DownloadGPT2Fixture }) tload < matlab .unittest .TestCase
22 % tload Test for gpt2.load
33
44 % Copyright 2020 The MathWorks, Inc.
Original file line number Diff line number Diff line change 1- classdef (SharedTestFixtures = {downloadGPT2Fixture }) tmodel < matlab .unittest .TestCase
1+ classdef (SharedTestFixtures = {DownloadGPT2Fixture }) tmodel < matlab .unittest .TestCase
22 % tmodel Tests for gpt2.model
33
44 % Copyright 2020 The MathWorks, Inc.
Original file line number Diff line number Diff line change 1- classdef (SharedTestFixtures = {downloadGPT2Fixture }) tGPT2Tokenizer < matlab .unittest .TestCase
1+ classdef (SharedTestFixtures = {DownloadGPT2Fixture }) tGPT2Tokenizer < matlab .unittest .TestCase
22 % tGPT2Tokenizer Tests for the text encoder class
33
44 % Copyright 2020 The MathWorks, Inc.
Original file line number Diff line number Diff line change 1- classdef downloadGPT2Fixture < matlab .unittest .fixtures .Fixture
2- % downloadGPT2Fixture A fixture for calling gpt2.download if
1+ classdef DownloadGPT2Fixture < matlab .unittest .fixtures .Fixture
2+ % DownloadGPT2Fixture A fixture for calling gpt2.download if
33 % necessary. This is to ensure that this function is only called once
44 % and only when tests need it. It also provides a teardown to return
55 % the test environment to the expected state before testing.
You can’t perform that action at this time.
0 commit comments