update factory tests

This commit is contained in:
onyx-and-iris 2023-08-07 13:05:03 +01:00
parent 8e54c6c119
commit c3afc041fe

View File

@ -12,7 +12,7 @@ class BasicFactoryTest < Minitest::Test
assert(Test.vm.strip.length == 3) assert(Test.vm.strip.length == 3)
assert(Test.vm.bus.length == 2) assert(Test.vm.bus.length == 2)
assert(Test.vm.button.length == 80) assert(Test.vm.button.length == 80)
assert(Test.vm.vban.instream.length == 4 && Test.vm.vban.outstream.length == 4) assert(Test.vm.vban.instream.length == 6 && Test.vm.vban.outstream.length == 5)
end end
end end
end end
@ -29,7 +29,7 @@ class BananaFactoryTest < Minitest::Test
assert(Test.vm.strip.length == 5) assert(Test.vm.strip.length == 5)
assert(Test.vm.bus.length == 5) assert(Test.vm.bus.length == 5)
assert(Test.vm.button.length == 80) assert(Test.vm.button.length == 80)
assert(Test.vm.vban.instream.length == 8 && Test.vm.vban.outstream.length == 8) assert(Test.vm.vban.instream.length == 10 && Test.vm.vban.outstream.length == 9)
end end
end end
end end
@ -46,7 +46,7 @@ class PotatoFactoryTest < Minitest::Test
assert(Test.vm.strip.length == 8) assert(Test.vm.strip.length == 8)
assert(Test.vm.bus.length == 8) assert(Test.vm.bus.length == 8)
assert(Test.vm.button.length == 80) assert(Test.vm.button.length == 80)
assert(Test.vm.vban.instream.length == 8 && Test.vm.vban.outstream.length == 8) assert(Test.vm.vban.instream.length == 10 && Test.vm.vban.outstream.length == 9)
end end
end end
end end