SequenceEqual with IEnumerable and Span?
Is there an extension that checks if an IEnumerable and a Span are SequenceEqual? Is there a similar thing in MSTest?
36 Replies
I'd just .ToArray the span since the test perf there likely won't matter
Unknown User•2d ago
Message Not Public
Sign In & Join Server To View
wdym by modern template
Unknown User•2d ago
Message Not Public
Sign In & Join Server To View
they aren't in 10 sdk iirc
Unknown User•2d ago
Message Not Public
Sign In & Join Server To View
last time i tried i got 3 with just
dotnet new xunitUnknown User•2d ago
Message Not Public
Sign In & Join Server To View
huh
weird
did they revert it
cuz in rc1
it outputted a file with a big fat comment
saying
uncomment the line below to opt into Microsoft.Testing.PlatformUnknown User•2d ago
Message Not Public
Sign In & Join Server To View
1 it says 9.0 there
Unknown User•2d ago
Message Not Public
Sign In & Join Server To View
2. i got this exact output from just
xunit before
in rc1Unknown User•2d ago
Message Not Public
Sign In & Join Server To View
did they switch that to default but then roll back?
Unknown User•2d ago
Message Not Public
Sign In & Join Server To View
when i had rc1 of dotnet
actually it was SLIGHTLY different
it had
Unknown User•2d ago
Message Not Public
Sign In & Join Server To View
at the end of the first group
well it seems they might've reverted it
Unknown User•2d ago
Message Not Public
Sign In & Join Server To View
well it's not there in the custom template at all
instead of commented out how i got it in rc1
Unknown User•2d ago
Message Not Public
Sign In & Join Server To View
what I mean is that it wasn't 100% the same thing
Unknown User•2d ago
Message Not Public
Sign In & Join Server To View
GitHub
Update xunit templates to xunit.v3 by Youssef1313 · Pull Request #...
Description
We would like to update templates for xUnit.net version 2, to version 3, because it is the current version of xUnit.net. We want to make this change now, and keep pushing newer versions...
Unknown User•2d ago
Message Not Public
Sign In & Join Server To View
so I'm not crazy
but they must've reverted it somewhere
Unknown User•2d ago
Message Not Public
Sign In & Join Server To View
oh the dev told them to

Unknown User•2d ago
Message Not Public
Sign In & Join Server To View
the whole MTP stuff is weird
MTP is weird, xunit.v3 is weird. tunit is weird. nunit is weird. why can i not haz a testing library i'm happy with?
Can you make a list of your requirements?
Unknown User•17h ago
Message Not Public
Sign In & Join Server To View
- it should have
Unit in the name